4 ms·
The first is comparing pointers, not strings. I wouldn't call this a fair comparison.
by pubby 12y ago
The first is comparing pointers, not strings. I wouldn't call this a fair comparison.
- AlexeyBrin 12y ago+1 I stand corrected. I've updated my tests and qsort seems to be faster than sort, for this particular test case.