rust-random / book

The Rust Rand Book
Other
49 stars 19 forks source link

Mention xoshiro256** #5

Closed vks closed 5 years ago

vks commented 5 years ago

This requires https://github.com/rust-random/rand/pull/642.

dhardy commented 5 years ago

You could mention more than one member from the family, though probably we don't want everything in one list (like we only selected a couple of PCG variants).

vks commented 5 years ago

Which ones are worth mentioning? Xoshiro256+ is a bit faster with slightly worse statistical properties, well suited for generating floats. Then there are smaller 64-bit generators (xoroshiro128), and 32-bit generators (xoshiro128 etc.).

dhardy commented 5 years ago

Okay, I guess one representative is sufficient.

vks commented 5 years ago

I could add xoshiro256+ to the list, because it is 15% faster but has slightly lower statistical quality, so it is maybe an interesting trade-off. But to be honest, I think the differences might be too small to warrant adding or removing stars in performance and quality.