in reply to Re^3: How to speed up a nested loop?in thread How to speed up a nested loop?
Unless the compiler or processor already performs that optimisation. In any case a shift is seldom faster than an increment.