3 ms·
> I've never heard that the size of the stack is really a problem in quicksort Naive quicksort tends to, in pathological cases, run out of stack space as oppo
by TheLoneWolfling 12y ago
> I've never heard that the size of the stack is really a problem in quicksort
Naive quicksort tends to, in pathological cases, run out of stack space as opposed to having performance issues.
Smallest-interval ends up with a strict upper limit of O(log n) elements in the running set, as opposed to O(n) for naive quicksort. This can be useful.