This. I've spent a good chunk of my career on performance work and this idea that you can hotspot optimize stuff after the fact is utterly wrong and the reason why so much of your software sucks battery and runs like crap.
Clean code like approaches have a very real cost for users (even in languages with good optimizers) and is usually unfixable after the fact.
Clean code like approaches have a very real cost for users (even in languages with good optimizers) and is usually unfixable after the fact.