]> 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)
Objects/listsort.txt

index 31a5445c0e3d3b107890d7f12da8f913222962f7..44a353a546dea1519fa033ae9789cf7fc11c0163 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