Le mardi 06 octobre 2009 à 12:21 -0400, Jeff Morriss a écrit :

> Another question: do we really need to use se_ allocations here?  Do we 
> need the canaries or are we just using se_ allocations because they get 
> cleaned up for us "automatically?"
PacketListRecord size is 20 bytes (could be 16) and we are allocating a
lot of them so yes using g_slice_new or g_malloc here make sense.

Using a g_string_chunk for frame data col_text too but it's not a
problem here loading a file doesn't initialize a lot of them.

Didier
 
> 
> Should we have a new allocator without the canaries?


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to