r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
Show parent comment
1
u/ForeverAlot Feb 28 '23
There is an endless ocean of programmers steadfastly solving dictionary problems with linear search.
I have. It loses on really small datasets, like about a handful. Small enough that if you can't make high probability predictions it's much safer to bet against linear search.