On Sat, Apr 18, 2009 at 10:01 AM, Stefan Behnel email@example.com wrote:
Facundo Batista wrote:
Using the module heapq, I found that it's not easy to use. Or, at least, that it could be straightforward to use. [...] So, I basically coded it. What do you think about including this class in the heap module?
I did something similar a couple of years ago (and I doubt that I'm the only one).
Indeed, you're not: http://code.activestate.com/recipes/440673/