digitalmars.D.learn - Does a Priority Queue implementation exist out there?
- Dylan Knutson (11/11) Aug 18 2013 Hello,
- bearophile (5/6) Aug 18 2013 In Phobos there's no general priority queue, but there's a heap,
- Dylan Knutson (2/8) Aug 18 2013 Actually, I do think that will work :-) Thank you!
Hello, I can't find a priority queue implementation in Phobos. This struck me as odd, because std.container has a few common containers already, and priority queues are used very often. Perhaps it exists in another module? In case there is indeed not a PQ container in Phobos, is there a priority queue implementation out there that is relatively battle hardened, doesn't rely on the GC much (if at all), and will work when compiled for 64 bit? Thank you, --Dylan
Aug 18 2013
Dylan Knutson:I can't find a priority queue implementation in Phobos.In Phobos there's no general priority queue, but there's a heap, is it enough? Bye, bearophile
Aug 18 2013
On Sunday, 18 August 2013 at 22:53:50 UTC, bearophile wrote:Dylan Knutson:Actually, I do think that will work :-) Thank you!I can't find a priority queue implementation in Phobos.In Phobos there's no general priority queue, but there's a heap, is it enough? Bye, bearophile
Aug 18 2013