commit | f0b4170aa337257ac58765c7a6f5d536b7e3679a | [log] [tgz] |
---|---|---|
author | Julien Cornebise <julien.cornebise@gmail.com> | Thu Oct 24 17:25:33 2013 +0100 |
committer | Julien Cornebise <julien.cornebise@gmail.com> | Thu Oct 24 17:25:33 2013 +0100 |
tree | 8babb80975490b9fa787bbe601b3bfaf2c66ba76 | |
parent | 457e037cdcc4e16c10f5c2ece91af7cf3ce10d8b [diff] |
Fix quicksort for constant arrays Change the comparison with the pivot to strict inequality, not or-equal. This solves the terrible performance of sorting a constant array.