Re: Use of GList



On 2001.09.04 05:07 Emmanuel wrote:
> So what do we do : we change all GList to GSList ?

Be very careful...

Singly linked lists are bad for performance under some
conditions (deleting an element from the list is painful,
as you have to find it first). GList is probably better
in most cases...

Doubly linked lists have a small overhead in space, but
there are probably better ways of saving memory than
doing this.
	-gordo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]