diff options
author | Evan Huus <eapache@gmail.com> | 2013-10-12 21:01:17 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-10-12 21:01:17 +0000 |
commit | c2b2d204db58fe40cecd28ba21c72d4d1038d1c8 (patch) | |
tree | 78df0fdc9aa2cc25450823e9c563eaf80669d0f8 /README.cmake | |
parent | 2e1497b532a3fa35dbfbcfb2b29c49c38e2c7e06 (diff) | |
download | wireshark-c2b2d204db58fe40cecd28ba21c72d4d1038d1c8.tar.gz |
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.
svn path=/trunk/; revision=52573
Diffstat (limited to 'README.cmake')
0 files changed, 0 insertions, 0 deletions