3 ms·
You would only ever do this on code where performance matters. You ask yourself: if I made this twice as fast (or half as slow) would anyone know or care? If ye
by ncmncm 6y ago
You would only ever do this on code where performance matters. You ask yourself: if I made this twice as fast (or half as slow) would anyone know or care? If yes, then it's not premature, it's just garden-variety optimization.
But choosing the right bit of code to work on needs some investigation. The assumption here is that that has already happened.