19 Mar
2015
19 Mar
'15
3:28 p.m.
AMDG On 03/19/2015 03:03 AM, Andrey Semashev wrote:
Boost.Log is missing here.
I'm worried about random_shuffle. In Boost.Log case I don't care about randomness quality, what's important is performance. I suspect replacing random_shuffle with shuffle+RNG will be inferior,
I highly doubt it. The algorithm is essentially the same, the only difference is the source of randomness. In fact, if you don't care about the randomness, with shuffle, it's easier to substitute a faster, lower quality PRNG.
let alone the need to still support random_shuffle for older compilers.
In Christ, Steven Watanabe