Comment on Parallel Parentheses MatchingparentComments−bandrami2moI lost count of the number of times I've seen a junior dev call qsort on an array that is guaranteed to only have a few hundred members at most.−pfdietz2moIf the implementation of qsort doesn't switch over to another algorithm for sufficiently small arrays (or when the recursion gets to a sufficiently small chunk) it could be improved.
Comments
I lost count of the number of times I've seen a junior dev call qsort on an array that is guaranteed to only have a few hundred members at most.
If the implementation of qsort doesn't switch over to another algorithm for sufficiently small arrays (or when the recursion gets to a sufficiently small chunk) it could be improved.