Ethereal-dev: Re: [ethereal-dev] GTK+ and GLib 1.2.8 release - includes our CList speedup chan

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Fri, 26 May 2000 07:56:11 -0500
On Thu, May 25, 2000 at 10:03:49PM -0700, Guy Harris wrote:
> It appears that the GTK+ 1.2.8 "gtkclist.c" includes our changes to
> avoid scanning all the way through the list of entries in a CList in
> order to find the last entry in the list.
> 
> Unfortunately, not everybody necessarily has 1.2.8 installed, so there
> may still be some performance benefit for most users to keep our
> "gtkclist.c" around on platforms where we can override the standard one.
> 
> I'm also contemplating turning it into a widget with a different name,
> which doesn't keep a list of text strings for all columns, but instead
> calls back to a callback routine to get the strings; Ethereal would then
> perhaps keep around the COL_INFO strings (as they may be expensive to
> generate on the fly, which might be a problem given that the CList rows
> scroll as the scrollbar is dragged), but would generate the other
> columns on the fly, keeping, for example, the addresses associated with
> the frames associated with the frames, etc..

That sounds great.

--gilbert