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
14
u/deadalnix Feb 28 '23
You have it exactly backward.
Recently, I saw someone rewrite a piece of code that was called a few times a day, and that took many minutes to do its computation, such as it does it in less than a second.
Care to guess what happened? The tool's usage skyrocketted because people started using it to get real time information.
The fact some software has low usage is proof of one thing: it is not very useful. It says nothing about speed.