Re:Why is this C++ code faster than my hand-written assembly...
by ethbro on Tuesday August 22, 2017 @03:16PM
(#15075505)
I call that the Python perspective.
'In a non-critical area, bad performance is equivalent to good performance. So optimize for other scarce resources.' (Code readability, development time, simplicity, maintainability, etc)
I know of thousands of places where our code does not use the best algorithm (they are not bottlenecks). I know of hundreds of real bottlenecks that I think could be fixed with algorithm work, but the bottleneck isn't large enough to be worth putting effort into. (this decision is subject to change)