Skip to content

Mention xoshiro256** - #5

Merged
dhardy merged 5 commits into
rust-random:masterfrom
vks:xoshiro
Nov 22, 2018
Merged

dhardy merged 5 commits into
rust-random:masterfrom
vks:xoshiro

Conversation

@vks

@vks vks commented Nov 14, 2018

Copy link
Copy Markdown
Contributor

This requires rust-random/rand#642.

@dhardy

dhardy commented Nov 14, 2018

Copy link
Copy Markdown
Member

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

vks commented Nov 14, 2018

Copy link
Copy Markdown
Contributor Author

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

dhardy commented Nov 14, 2018

Copy link
Copy Markdown
Member

Okay, I guess one representative is sufficient.

@vks

vks commented Nov 14, 2018

Copy link
Copy Markdown
Contributor Author

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.

Comment thread src/guide-rngs.md
[`Pcg32`]: ../rand/rand_pcg/type.Pcg32.html
[`Pcg64Mcg`]: ../rand/rand_pcg/type.Pcg64Mcg.html
[`XorShiftRng`]: ../rand/rand_xorshift/struct.XorShiftRng.html
[`Xoshiro256StarStar`]: ../rand/rand_xoshiro/struct.Xoshiro256StarStar.html

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the second link?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@dhardy
dhardy merged commit 1c82e4d into rust-random:master Nov 22, 2018
@vks
vks deleted the xoshiro branch November 22, 2018 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants