[issue38938] Possible performance improvement for heaqq.merge()

Raymond Hettinger report at bugs.python.org
Sat May 16 15:59:49 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

For comparison, I'm attaching an iterative version that manipulates the tree nodes with all local variables.  Try it out and see what you think.

----------
Added file: https://bugs.python.org/file49157/new_merge.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38938>
_______________________________________


More information about the Python-bugs-list mailing list