]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue 4790: Eliminate unnecessary work from heapq's nlargest() and nsmallest()
authorRaymond Hettinger <python@rcn.com>
Wed, 31 Dec 2008 04:33:06 +0000 (04:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 31 Dec 2008 04:33:06 +0000 (04:33 +0000)
commit7b3debcbd7ad3546049338f5af3f652480422e6a
tree113902369925d00626e2dc76a198198eaa6bfe6a
parenta60025deb0ee06ee7c3ad92e52466c2918252619
Issue 4790:  Eliminate unnecessary work from heapq's nlargest() and nsmallest()
functions for the common case where no key function is specified.
Lib/heapq.py
Misc/NEWS