[Python-ideas] Heap data type
George Sakkis
george.sakkis at gmail.com
Sat Apr 18 16:57:09 CEST 2009
On Sat, Apr 18, 2009 at 10:01 AM, Stefan Behnel <stefan_ml at behnel.de> 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/
George
More information about the Python-ideas
mailing list