News for hackers. Stuff that matters.
Re:Sorting in C++: 3 times faster than C by albertzeyer on Saturday March 17, 2012 @09:54AM (#3717066)
That's not exactly true. `std::sort` can use quick sort. It depends on the implementation.

As well as `qsort`. It is also not guaranteed to use quick sort.

E.g., here is the BSD qsort: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd...

Here is the glibc one: http://www.umcs.maine.edu/~chaw/200801/capstone/n/qsort.c

There are no comments on this comment yet.