Gor Gyolchanyan: > The best implementation of queue IMO is using a doubly-linked list,
On modern CPUs there is a better implementation: http://pages.cpsc.ucalgary.ca/~kremer/STL/1024x768/deque.html http://www.martinbroadhurst.com/articles/deque.html Essentially a dynamic (on the right) array of fixed-size arrays managed by pointer (in D you need to wrap the small arrays in a struct, I presume, because of the curious way D arrays are designed). Bye, bearophile