Wireshark mailing list archives

Re: [Wireshark-commits] rev 39149: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-daap.c packet-dcp-etsi.c packet-dec-bpdu.c packet-dec-dnart.c packet-dhcp-failover.c packet-dis.c packet-distcc.c packet-dlm3.c ...


From: Guy Harris <guy () alum mit edu>
Date: Tue, 27 Sep 2011 13:04:53 -0700


On Sep 27, 2011, at 12:56 PM, Jeff Morriss wrote:

(It does appear that Wireshark does cache the column information; scrolling back or clicking on earlier packets does 
not result in the column info being rebuilt, even if the dissector is called again.)

Note: that should not be treated as a specification.  It should be treated as an implementation detail subject to 
change.

Caching the column information takes less memory than generating all column information for all packets when the file 
is read in and saving it all (as was done with the old packet list), but not caching the information would take even 
less memory. If the only columns cached are ones displayed, it won't be much less memory, but if sorting on a column 
means that column's contents, for all packets, are generated and saved, sorting on a column gets expensive.  (I haven't 
checked, but there's probably no reason that searching for packets with given text in a column needs to cache the 
column information, so that should, at least in theory, not chew up additional memory.)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: