Y
Hacker News
new
|
ask
|
show
|
jobs
by
bandrami
36 days ago
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.
1 comments
pfdietz
36 days ago
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.
link