Skip to content

clarify shuffle docs#1259

Merged
dhardy merged 1 commit into
rust-random:masterfrom
RalfJung:shuffle
Oct 11, 2022
Merged

clarify shuffle docs#1259
dhardy merged 1 commit into
rust-random:masterfrom
RalfJung:shuffle

Conversation

@RalfJung

@RalfJung RalfJung commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

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

vks commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

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

Comment thread src/seq/mod.rs
@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