News for hackers. Stuff that matters.
Re:Proving that Android’s, Java’s and Python’s sorting algor... by maxlybbert on Tuesday February 24, 2015 @03:25PM (#9103250)
I may have oversold Sedgewick's claim: he doesn't actually say that a properly implemented quicksort will never go quadradic; only that "The average number of compares per element ... is always within a constant factor of the entropy" and "No comparison-based algorithm can do better" (page 16).

I've never looked into whether a Sedgewick-approved Quicksort can avoid worst case behavior against antiquicksort ( http://www.cs.dartmouth.edu/~doug/aqsort.c , http://www.cs.dartmouth.edu/~doug/mdmspe.pdf ).

There are no comments on this comment yet.