On 07/09/2012 01:01, jimbo1qaz wrote: > Is it faster to use bitshifts or floor division? And which is better, & or %? > All divisors and mods are power of 2, so are binary operations faster? And are they considered bad style? > Why don't you use the timeit module and find out for yourself? -- Cheers. Mark Lawrence.