Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify shuffle docs #1259

Merged
merged 1 commit into from
Oct 11, 2022
Merged

clarify shuffle docs #1259

merged 1 commit into from
Oct 11, 2022

Conversation

RalfJung
Copy link
Contributor

@RalfJung RalfJung commented Oct 6, 2022

Fixes #1258

In that issue @vks makes a remark about the generator state space. Is that something that should be mentioned here? I am not sure if I fully understand the remark, it seems to be about fundamental limits of finite-state pseudo-random number generators.

@vks
Copy link
Collaborator

vks commented Oct 6, 2022

Yes, it's about how many different numbers a PRNG with a finite seed / state can generate. It's explained a bit more here.

src/seq/mod.rs Show resolved Hide resolved
@dhardy dhardy merged commit 23f8b29 into rust-random:master Oct 11, 2022
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.

Is 'shuffle' uniform across all permutations?
3 participants