Skip to content

Prepare new releases, from_rng Endianness and inlining - #815

Merged
dhardy merged 14 commits into
rust-random:masterfrom
dhardy:from-rng
Jun 6, 2019
Merged

Prepare new releases, from_rng Endianness and inlining#815
dhardy merged 14 commits into
rust-random:masterfrom
dhardy:from-rng

Conversation

@dhardy

Copy link
Copy Markdown
Member

Prepare the 0.7 pre-release and releases of many other crates (the only one without changes is PCG, though some are just doc).

Important: this is missing rand_distr which I asked @vks to look at.

Also closes#572, most of which was already implemented (probably as part of #800).

Comment threadrand_isaac/CHANGELOG.md
Comment threadrand_xoshiro/CHANGELOG.md Outdated
@dhardy

Copy link
Copy Markdown
MemberAuthor

Rebased with your suggestions

vks
vks approved these changes Jun 5, 2019

@vksvks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! The tests fail apparently because of the rand requirement of rand_distr.

@dhardy

Copy link
Copy Markdown
MemberAuthor

Hopefully that should fix the tests.

@dhardy

Copy link
Copy Markdown
MemberAuthor

Turns out #572 isn't just documentation: the custom implementation for XorShiftRng needed fixing. Curiously the custom implementations for the ISAAC RNGs already have fixed Endianness.

@dhardy

Copy link
Copy Markdown
MemberAuthor

Use of #[inline] adjusted (see #817). Benchmarks mostly look similar or a little better (especially init_hc128: 4860 → 4448).

@dhardydhardy changed the title Prepare new releasesPrepare new releases, from_rng Endianness and inliningJun 6, 2019
@dhardy
dhardy merged commit fa83071 into rust-random:masterJun 6, 2019
@dhardy
dhardy deleted the from-rng branch June 6, 2019 15:46
Sign up for freeto 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.

from_rng and value-stability

2 participants

@dhardy@vks