Comment Comment by CydeWeys Why do you say it's faster? It's guaranteed to fail branch prediction one out of ten times. My guess is that'd be a lot slower than using the integer modulo operator, which is not an expensive operation. parent CydeWeys 9 years ago