]> granicus.if.org Git - python/commitdiff
Add line explaining the "%sort" test.
authorTim Peters <tim@python.org>
Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)
committerTim Peters <tim@python.org>
Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)
(grafted from 1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548)

Objects/listsort.txt

index 47fec1d0a1cff689fa2044b87ac4edb8237e59ef..3ec4393f0ee3889d4993c6b16c52cfbfcab3ad6c 100644 (file)
@@ -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