Ethereal-dev: Re: [Ethereal-dev] Re: Performance: change the time format for a file with 500 0

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 5 Dec 2003 02:21:33 -0800
On Thu, Dec 04, 2003 at 07:46:48PM -0500, Jeff Morriss wrote:
> where 'packet_list_find_row_from_data()' does a linear search of the
> rows and then returns the row number.
> 
> The attached patch changes this function to make a (cheap) educated 
> guess

Or, rather, it changes the GTK+ function it calls,
"gtk_clist_find_row_from_data()".

Unfortunately, that helps only if we're using our modified GTK+; that's
not possible on some platforms that have GTK+ 1.2[.x] installed (e.g.,
AIX), and it's also not possible if you're not using GTK+ 1.2[.x], as is
the case on Windows (we use 1.3[.x] or 2.x) or on UN*X with GTK+ 2.x.