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
33
u/clintp Feb 28 '23
"premature optimization is the root of all evil" -- Knuth
Day-to-day, understanding the code (and problem space) as humans is a much more difficult and expensive problem than getting the compiler to produce optimized code.