Because bit shifts are often much faster operations than division , replacing a division by a shift in this way can be a helpful step in program optimization .
Replacing regular division with bit shifts is a way to do program optimization .