3 ms·
Good point! I think that's true of a lot of older "optimization" techniques--if they're that good, a compiler does them for you. I'm curious whether any compil
by geoelectric 7y ago
Good point! I think that's true of a lot of older "optimization" techniques--if they're that good, a compiler does them for you.
I'm curious whether any compilers have specific rules to "re-optimize" obsolete practice. Like, assuming a platform does have a cheaper way to do /=2, do any compilers recognize that a >>1 in a given context is meant to be a div 2 and replace the code?