summaryrefslogtreecommitdiff
path: root/Lib/test/test_new.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-12 08:33:36 +0000
committerRaymond Hettinger <python@rcn.com>2004-06-12 08:33:36 +0000
commit2a2e269dcf7201dbd4bd913db958f2ef96a147fc (patch)
tree31bb9f36dbbeb2a5739186b4769a084a18f6a8c5 /Lib/test/test_new.py
parenta62af0e5eb3bf1e95b9eee52702a337b2cfded6b (diff)
downloadcpython-2a2e269dcf7201dbd4bd913db958f2ef96a147fc.tar.gz
Improve the memory performance and speed of heapq.nsmallest() by using
an alternate algorithm when the number of selected items is small relative to the full iterable.
Diffstat (limited to 'Lib/test/test_new.py')
0 files changed, 0 insertions, 0 deletions