diff options
author | Raymond Hettinger <python@rcn.com> | 2009-01-12 10:37:32 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-01-12 10:37:32 (GMT) |
commit | b5bc33cdabc2361afa60463fedd262a6b457dfde (patch) | |
tree | 7eb67aca60b69614fec7bb277ee832ce88ebb6fe /Lib/test/test_os.py | |
parent | c22ab18e917d483fe95b0288ea096751de71277d (diff) | |
download | cpython-b5bc33cdabc2361afa60463fedd262a6b457dfde.zip cpython-b5bc33cdabc2361afa60463fedd262a6b457dfde.tar.gz cpython-b5bc33cdabc2361afa60463fedd262a6b457dfde.tar.bz2 |
Optimize heapq.nsmallest/nlargest for cases where n==1 or n>=size.
Diffstat (limited to 'Lib/test/test_os.py')
0 files changed, 0 insertions, 0 deletions