diff options
author | Raymond Hettinger <python@rcn.com> | 2004-06-12 08:33:36 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-06-12 08:33:36 +0000 |
commit | 2a2e269dcf7201dbd4bd913db958f2ef96a147fc (patch) | |
tree | 31bb9f36dbbeb2a5739186b4769a084a18f6a8c5 /Lib/test/test_new.py | |
parent | a62af0e5eb3bf1e95b9eee52702a337b2cfded6b (diff) | |
download | cpython-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