Tag Archives: random

XORShift vs Random performance in Java

Java’s Random class uses a linear congruential generator, which has mediocre quality at best,  and then to add insult to injury, wrapped more crap around it (configurable number of bits per call, useless thread safety) to make it slow to boot! I had … Continue reading

Posted in java, performance | Tagged , , , , | Leave a comment