XLT
XLT copied to clipboard
Use ThreadLocalRandom
Use https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadLocalRandom.html instead of a thread local Random to reduce overhead and memory synchronization events.
Looks like ThreadLocalRandom
cannot be reseeded which is needed for our "replayable randomness" feature.
I have something available based on it.unimi.dsl.util.SplitMix64RandomGenerator