I'm adding some RNG benchmarks, suspecting that it's slow. As I look at the profiler, however, 87.4% of the time is spent calling SystemRandomNumberGenerator.next() and my code accounts for 10.6%. So my input is kind of pointless, until something like An API for bulk random bytes is added. The story may be different for other RNGs, but I have not tested it.
I'm adding some RNG benchmarks, suspecting that it's slow. As I look at the profiler, however,
87.4%of the time is spent callingSystemRandomNumberGenerator.next()and my code accounts for10.6%. So my input is kind of pointless, until something like An API for bulk random bytes is added. The story may be different for other RNGs, but I have not tested it.