[issue11180] More efficient nlargest()/nsmallest()

Raymond Hettinger report at bugs.python.org
Fri Feb 11 21:59:54 CET 2011


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

FWIW, I've attached benchmarking code for all three approaches (the current approach and the two proposals).

----------
Added file: http://bugs.python.org/file20748/heapq_benchmark.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11180>
_______________________________________


More information about the Python-bugs-list mailing list