4 ms·
Performance doesn't exist in a vacuum. The fastest way to optimise a loop is to remove all the code in it, but you're changing the program in order to do so. A
by maccard 3y ago
Performance doesn't exist in a vacuum. The fastest way to optimise a loop is to remove all the code in it, but you're changing the program in order to do so.
Adding/removing IO buffering absolutely _does_ have side effects. If someone is running `./app >> /dev/null 2>&1`, then mucking arouind with IO buffering is going to have little to no effect.
- IshKebab 3y agoOk but that is irrelevant to the discussion which was about whether profiling is absolutely necessary 100% of the time.