Re: g_list_prepend() vs g_list_append()
- From: ERDI Gergo <cactus cactus rulez org>
- To: Archit Baweja <bighead users sourceforge net>
- Cc: Mark Mielke <mark mark mielke cc>, Chema Celorio <chema ximian com>, Jonathan Blandford <jrb redhat com>, gtk-devel-list gnome org
- Subject: Re: g_list_prepend() vs g_list_append()
- Date: Sun, 8 Sep 2002 18:57:21 +0200 (CEST)
On 8 Sep 2002, Archit Baweja wrote:
> > With:
> >
> > g_list_reverse();
> > g_list_prepend(), ...;
> > g_list_reverse();
>
> Maybe we can implement g_list_append() as a macros which calls the 3 for us?
g_list_reverse() is O(n) so what would that buy us?
--
.--= ULLA! =----------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`-----= cactus cactus rulez org =--'
Borg spreadsheet: Locutus 1-2-3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]