Wireshark-commits: [Wireshark-commits] rev 52573: /trunk/epan/ /trunk/epan/: proto.c proto.h
Date: Sat, 12 Oct 2013 21:01:18 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52573

User: eapache
Date: 2013/10/12 09:01 PM

Log:
 Redo r52569 in a way that doesn't break the GUI. Add a mem_pool member to
 tree_data and reference it directly when allocating/freeing tree items. This
 lets us keep multiple around when we need them, and still lets us use
 wmem_free_all for a major speedup. It also, coincidentally, lets us get rid of
 the annoying fi_tmp hack that was needed before, since that element gets swept
 up in the free_all with everything else.
 
 Keep one pool cached to avoid creating/destroying a pool for each packet,
 another minor performance win.
 
 The various changes in approach seem to balance out pretty much exactly, this
 still gives ~11% over pre-52569.

Directory: /trunk/epan/
  Changes    Path          Action
  +50 -101   proto.c       Modified
  +5 -1      proto.h       Modified