2 ms·
I do agree overall, but this fits the premature optimization case very well. Inlining/declaring functions is a micro-optimization that has no impact on the over
by marcosdumay 9y ago
I do agree overall, but this fits the premature optimization case very well. Inlining/declaring functions is a micro-optimization that has no impact on the overall architecture, can be done/undone later without any problems, is a great target for optimizing in another level (interpreter, compactor, web-server), and will certainly not lead to any non-linear gain or loss.
That quote was warning exactly about this kind of optimization, and it's foolish to trade anything (development time, maintainability, whatever) for that optimization without a business case and measurements.