View previous topic :: View next topic |
Author |
Message |
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Thu Aug 24, 2006 2:17 pm Post subject: mango.containers.Queue? |
|
|
I find myself wanting to use a Queue in the Bovis project (which makes use of Mango for various things), and it appears one could be very simply made out of LinkedList in the same way Stack was, with a couple of aliases. _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Thu Aug 24, 2006 3:53 pm Post subject: |
|
|
Cool; what is Bovis? |
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Fri Aug 25, 2006 1:13 am Post subject: |
|
|
An old MUVE server project of a friend and me, which is enjoying a good solid revival now that D has started to become truly applicable. (Sinbad wasn't the only thing to get stalled... I registered Bovis at SourceForge in December, 2003.)
http://sourceforge.net/projects/neomoo
http://svn.sourceforge.net/viewvc/neomoo/ _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Fri Aug 25, 2006 8:43 am Post subject: Re: mango.containers.Queue? |
|
|
csauls wrote: | I find myself wanting to use a Queue in the Bovis project (which makes use of Mango for various things), and it appears one could be very simply made out of LinkedList in the same way Stack was, with a couple of aliases. |
I've just been adding data structures as I need them, but I guess now is as good a time as any for Queue. Its in SVN now.
In addition to enqueue() and dequeue(), I aliased them to put() and grab() respectively, since I find I can never type either enqueue or dequeue correctly the first time! |
|
Back to top |
|
|
|