kentonv/capnproto — pull request #103 by dwrensha (2014-06-25 03:30:21+00:00)
Title: sidestep fastRand() periodicity

Currently, in the catrank benchmark, `goodCount` always equals zero (!) because the pseudorandom number generation gets into a degenerate cycle. The root of the problem is the fact that `fastRand(8)` has a period of 8. Avoiding multiples of two is an easy way to sidestep this issue.