Some people believe that multiplication and bit shifting is faster than division.
It may be true but this kind of tricks should be left to the compiler optimization, if you have to divide by three,
use / 3 ( or / 3.0 for floating point division )
Sometimes bit shifts are faster, but like Bazzy said; a good compiler will optimize that for you. Sometimes bit shifts are slower, but a compiler probably won't optimize it for you.