4 ms·
Premature optimization will never become the right thing to do. Most code has absolutely no reason to be particularly fast because it doesn't get executed very
by brazzy 7y ago
Premature optimization will never become the right thing to do. Most code has absolutely no reason to be particularly fast because it doesn't get executed very frequently.
- carlmr 7y agoNobody said that. Just that you should think about which algorithms you use, profile, and not waste so much. The wasted power at this point is significant.
- brazzy 7y agoThat is sensible, but I've also heard people basically call any code that is not micro-optimized wasteful and harp on about how back in the day it was second nature for programmers to care about bytes and cycles in every line of code they wrote, and modern day programmers are just lazy and incompetent.
- carlmr 7y agoYeah, I get where you're coming from. There's as always a sweet spot between the two extremes. But needing a new computer for running Word or Excel smoothly just seems like there's a lot of low hanging fruit left.