Re: Upcoming GLib changes
- From: Scott Wimer <scottw cgibuilder com>
- To: gtk-devel-list redhat com
- Subject: Re: Upcoming GLib changes
- Date: Sat, 3 Jul 1999 02:36:06 -0400 (EDT)
Tim,
Basically, I want an array/list where I can work off of either
end with equal ease.
I've only rarely needed a queue. I've on many occasions wanted
to work of both ends of a list.
Just my 2 cents,
scottwimer
On Fri, 2 Jul 1999, Tim Janik wrote:
> On Fri, 2 Jul 1999, Scott Wimer wrote:
>
> > On Thu, 1 Jul 1999, Damon Chaplin wrote:
> >
> > > I agree with this. I think:
> > >
> > > g_stack_push()
> > > g_stack_pop()
> > > g_stack_empty()
> > > g_stack_peek()
> >
> > Let's add the following, just to make the stack more useful:
> >
> > g_stack_shift() /* like pop(), only on the other end */
> > g_stack_unshift() /* like push(), only on the other end */
>
> and you don't think a queue would be more usefull
> if you need this functionality? ;)
>
> > The problem is that these make the implementation more difficult.
> > If people don't want to add them to g_stack, that's not a big deal.
> >
> > I'll be putting them in my bucketized array library. (which should
> > be a nice comprimise between GList and GArray).
> >
> > Regards,
> > scottwimer
> >
>
> ---
> ciaoTJ
>
>
>
> --
> To unsubscribe: mail gtk-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
--
Scott Wimer
Play: scottw@cgibuilder.com www.cgibuilder.com
Work: scottw@corp.earthlink.net www.earthlink.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]