[issue13742] Add a key parameter (like sorted) to heapq.merge
Raymond Hettinger
report at bugs.python.org
Tue Mar 26 07:54:31 CET 2013
Raymond Hettinger added the comment:
Attaching a rough draft implementation for a fully encapsulated Heap() class that is thread-safe, supports minheaps and maxheaps, and efficiently implements key-functions (called no more than once per key).
----------
Added file: http://bugs.python.org/file29578/heap.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13742>
_______________________________________
More information about the Python-bugs-list
mailing list