The Slower Algorithm Wins Below Ten Thousand Elements
I remember sitting in a windowless lab during my postdoc, staring at a beautiful, $O(n log n)$ implementation that was being absolutely slaughtered by a “theoretically inferior” $O(n^2)$ algorithm. The student who wrote the faster one had barely looked at…
Read More




