]> granicus.if.org Git - python/commitdiff
The key to the various sort columns got lost. Pulled from
authorSkip Montanaro <skip@pobox.com>
Fri, 23 Sep 2005 17:14:22 +0000 (17:14 +0000)
committerSkip Montanaro <skip@pobox.com>
Fri, 23 Sep 2005 17:14:22 +0000 (17:14 +0000)
    http://mail.python.org/pipermail/python-dev/2002-July/026876.html

Objects/listsort.txt

index 139c17cf00e1f2043bdf60c794b8142b9a156e24..68e918d9605ba4cb20f147f1305925ed5e9710f1 100644 (file)
@@ -54,6 +54,16 @@ Comparison with Python's Samplesort Hybrid
 + Here are exact comparison counts across all the tests in sortperf.py,
   when run with arguments "15 20 1".
 
+  Column Key:
+      *sort: random data
+      \sort: descending data
+      /sort: ascending data
+      3sort: ascending, then 3 random exchanges
+      +sort: ascending, then 10 random at the end
+      ~sort: many duplicates
+      =sort: all equal
+      !sort: worst case scenario
+
   First the trivial cases, trivial for samplesort because it special-cased
   them, and trivial for timsort because it naturally works on runs.  Within
   an "n" block, the first line gives the # of compares done by samplesort,