On Wednesday, January 15, 2014 12:03:57 PM UTC-5, Steven G. Johnson wrote: > > The following version uses 32-bit integers in the arrays (to reduce cache > pressure) and 32-bit integer remainder operations, with everything else > 64-bit, and is nearly 3x faster than the original code on my machine: >
(Correction: I accidentally left i::Int32 in, so i is 32-bit. Removing the ::Int32 qualifier from i doesn't seem to make a significant performance difference, though.)
