Ethereal-dev: Re: [ethereal-dev] Ethereal memory leakage fix and feature enhancement

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 8 Aug 1999 19:36:42 -0700
> (I'm not sure how I managed to reduce "g_list_append()" CPU time to
> almost nothing, given that the code to add a row to a GtkClist uses it;
> I'm obviously missing something.

Yes, I'm missing the fact that, apparently, the folks who implemented
the GtkClist also realized that passing "g_list_append()" a pointer to
the first element of a GList, when constructing a list by appending
stuff to it, isn't a very good idea, and keep around a pointer to the
end of the GList and append after that instead....