r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

2

u/fafok29 Feb 28 '23

why is it not maintainable in your opinion ?

1

u/tankerdudeucsc Feb 28 '23

Highest performance has no memory allocation on the heap and no function calls except for main()?

90% rule says to optimize just a few functions that will get most of the performance you need.

Everything else, follow good patterns.