Re: [Wireshark-dev] reduce the size of packet_info

2010-05-21 Thread Jakub Zawadzki
Hi, On Fri, May 21, 2010 at 10:52:50PM +0300, Kaul wrote: > I've just looked at packet_info structure (epan/packet_info.h) and it's huge > - everybody keeps something there. > 1. I wonder how many times its allocated/de-allocated in a capture - > reducing its size (and perhaps creating a pool of p

[Wireshark-dev] reduce the size of packet_info

2010-05-21 Thread Kaul
I've just looked at packet_info structure (epan/packet_info.h) and it's huge - everybody keeps something there. 1. I wonder how many times its allocated/de-allocated in a capture - reducing its size (and perhaps creating a pool of pinfo's) might help in performance. I suspect we have 1 per packet,