3 ms·
for more flexibility, like taking arbitrary ranges of elements, it is possible to use partial qsort, that is pretty easy to implement (just don't recurse for ra
by antirez 15y ago
for more flexibility, like taking arbitrary ranges of elements, it is possible to use partial qsort, that is pretty easy to implement (just don't recurse for ranges that are outside the range you want to sort).