ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] New packet list: Optimize memory usage

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Mon, 13 Jul 2009 00:15:11 +0200

On Jul 12, 2009, at 12:48 PM, Jakub Zawadzki wrote:

>> This patch (Proof of Concept) removes allocating memory for columns  
>> data,
>> and makes them 'dynamic' (packets redissected when column data needed)

>That should make changing the time format, for example, *extremely*  
>fast - it should just have to redisplay all the rows that are  
>currently on the screen, it won't have to recompute all the column  
>strings.  (I.e., it should happen in constant time, not in linear time.)

How about storing the time in binary format and let the renderer do the
formatting, said without checking the feasibility.

> I haven't seen any visible lags while scrolling,


>Try scrolling backwards through a large gzipped file.

>(That doesn't say this is the wrong thing to do - I've been advocating  
>this for a while, and made a version of the GTK 1.2[.x] GtkCList with  
>"dynamic" column data and prototyped the same thing - it says we need  
>to make random access to gzipped files faster.)

Did you say at Sharkfest that bzipped files might be better suited for that?
If so perhaps we should go for bzip in stead of gzip?
Regards
Anders 
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe