We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02cfa0b commit acb1424Copy full SHA for acb1424
1 file changed
Objects/listsort.txt
@@ -54,6 +54,16 @@ Comparison with Python's Samplesort Hybrid
54
+ Here are exact comparison counts across all the tests in sortperf.py,
55
when run with arguments "15 20 1".
56
57
+ Column Key:
58
+ *sort: random data
59
+ \sort: descending data
60
+ /sort: ascending data
61
+ 3sort: ascending, then 3 random exchanges
62
+ +sort: ascending, then 10 random at the end
63
+ ~sort: many duplicates
64
+ =sort: all equal
65
+ !sort: worst case scenario
66
+
67
First the trivial cases, trivial for samplesort because it special-cased
68
them, and trivial for timsort because it naturally works on runs. Within
69
an "n" block, the first line gives the # of compares done by samplesort,
0 commit comments