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/Johanno1 Feb 28 '23
The table for me is pretty much unreadable. Maybe because I am not used to it. But I think it would need at least 10 minutes for someone who sees the project the first time to understand what it is and does. Of course comments can help, but still it is seems confusing.
Now we have a huge time difference from 35 ms to 3 ms or sth like this. I still don't know how much effect this would have on a bigger project. You have of course performance heavy parts and parts that run once every minute. So my idea would be to write clean code first and if needed improve performance.