From: Tim Peters Date: Thu, 22 Aug 2013 23:32:53 +0000 (-0500) Subject: Add line explaining the "%sort" test. X-Git-Tag: v3.4.0a2~147^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01e75a699d2fd8e9dbfa428412da2a7d1b0af257;p=python Add line explaining the "%sort" test. (grafted from 1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548) --- diff --git a/Objects/listsort.txt b/Objects/listsort.txt index 47fec1d0a1..3ec4393f0e 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