From: Tim Peters Date: Thu, 22 Aug 2013 23:32:53 +0000 (-0500) Subject: Add line explaining the "%sort" test. X-Git-Tag: v2.7.6rc1~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78cc8daa9baa49853f914addcd26ee2807d4cef6;p=thirdparty%2FPython%2Fcpython.git Add line explaining the "%sort" test. --- diff --git a/Objects/listsort.txt b/Objects/listsort.txt index 31a5445c0e3d..44a353a546de 100644 --- a/Objects/listsort.txt +++ b/Objects/listsort.txt @@ -60,6 +60,7 @@ Comparison with Python's Samplesort Hybrid /sort: ascending data 3sort: ascending, then 3 random exchanges +sort: ascending, then 10 random at the end + %sort: ascending, then randomly replace 1% of elements w/ random values ~sort: many duplicates =sort: all equal !sort: worst case scenario