Re: g_list_prepend() vs g_list_append()



James Henstridge <james daa com au> writes:

> By the way, if you want to efficiently append to a GList, you should
> maintain a tail pointer.  

Or just use the GQueue data structure. GQueue is just a list and a
tail pointer.




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