]> granicus.if.org Git - python/commit
Issue 4790: Eliminate unnecessary work from heapq's nlargest() and nsmallest()
authorRaymond Hettinger <python@rcn.com>
Wed, 31 Dec 2008 04:18:44 +0000 (04:18 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 31 Dec 2008 04:18:44 +0000 (04:18 +0000)
commitd263bd8d4a2f6dbe30b8562eed1521562a370ce0
tree86f5a7a132e60b4012d508794f1faca563a59809
parente4ea6bc9f365d402faa699680500c99b08c1e26e
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