Fast Gaussian-distributed Random Numbers
Recently, profiling showed me that most of the time in the microbenchmark I was running was spent generating the stream of random numbers using Random.nextGaussian
. I didn’t need a high-quality Gaussian distribution—I just wanted some moderately realistic numbers—so, mostly …