mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +00:00
Fixes in sorting descriptions (GH-18317)
Improvements in listsort.txt and a comment in sortperf.py. Automerge-Triggered-By: @csabella
This commit is contained in:
parent
4b524161a0
commit
24e5ad4689
2 changed files with 9 additions and 9 deletions
|
@ -134,7 +134,7 @@ def tabulate(r):
|
|||
L = list(range(half - 1, -1, -1))
|
||||
L.extend(range(half))
|
||||
# Force to float, so that the timings are comparable. This is
|
||||
# significantly faster if we leave tham as ints.
|
||||
# significantly faster if we leave them as ints.
|
||||
L = list(map(float, L))
|
||||
doit(L) # !sort
|
||||
print()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue