Wireshark-commits: [Wireshark-commits] rev 29439: /trunk/gtk/ /trunk/gtk/: new_packet_list.c packet
Date: Sun, 16 Aug 2009 04:08:05 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29439

User: krj
Date: 2009/08/15 09:08 PM

Log:
 Switch over to using GPtrArray instead of manually g_renew'ing. This switch has some benefits:
 
 1) We don't have to manually resize
 2) GPtrArray uses a sligtly more efficient allocation scheme. It increases the size of the array exponentially which reduces the amount of memcpy's we have to do when we resize the array

Directory: /trunk/gtk/
  Changes    Path                   Action
  +3 -2      new_packet_list.c      Modified
  +27 -33    packet_list_store.c    Modified
  +6 -3      packet_list_store.h    Modified