summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_new.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-12 08:33:36 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-06-12 08:33:36 (GMT)
commitb25aa36f83a3cd2200f2bc479e594458e27794a3 (patch)
treeafdd8051a7b152562b6a4a006fe7fe814113021e /Lib/test/test_new.py
parent2e6694086f07d293d1907891f68cec6076d44f73 (diff)
downloadcpython-b25aa36f83a3cd2200f2bc479e594458e27794a3.zip
cpython-b25aa36f83a3cd2200f2bc479e594458e27794a3.tar.gz
cpython-b25aa36f83a3cd2200f2bc479e594458e27794a3.tar.bz2
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