[Python-Dev] Status of pairing_heap.py? (original) (raw)

Paul Chiusano paul.chiusano at gmail.com
Sun Oct 29 16:51:01 CET 2006


I was looking for a good pairing_heap implementation and came across one that had apparently been checked in a couple years ago (!). Here is the full link:

http://svn.python.org/view/sandbox/trunk/collections/pairing_heap.py?rev=40887&view=markup

I was just wondering about the status of this implementation. The api looks pretty good to me -- it's great that the author decided to have the insert method return a node reference which can then be passed to delete and adjust_key. It's a bit of a pain to implement that functionality, but it's extremely useful for a number of applications.

If that project is still alive, I have a couple api suggestions:

Paul



More information about the Python-Dev mailing list