Fork me on GitHub

The randomness functions in clojure.core use Java's random number generator which was not a very good RNG. OK for quick experiments, presenting novel options to users, etc., but if you use random numbers a lot, and unnoticed patterns would be bad, it's better to be safer. I think maybe the latest version of Java is better--not sure. Incanter often uses better RNGs. (I use by Sean Luke. By design, you have to throw out the first 1500 numbers or so, but after that it's good unless you're doing cryptography.)


For thinning data, I suppose a so-so RNG is ok unless maybe there are weird patterns in the data.