2 ms·
> Most code, #1 is irrelevant. Most code isn't in the inner loop of performance-limiting execution. Just because your code isn't in a tight loop doesn't mean y
by flukus 9y ago
> Most code, #1 is irrelevant. Most code isn't in the inner loop of performance-limiting execution.
Just because your code isn't in a tight loop doesn't mean you shouldn't think about performance. If you waste CPU resources then the rest of the system that is in a tight loop will have more switches to do. If you waste memory then the code in the tight loop will have memory evicted from it's precious memory cache. Just because your process is not CPU bound does not mean you aren't having an impact on overall system performance.
If you're running your own servers do whatever you want, but if you're making consumer software then don't pretend you're software is the only thing running.