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

RNG: make a Sampler out of rand(::MersenneTwister, ::UnitRange) #25002

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

rfourquet
Copy link
Member

This special implementation was coupled to MersenneTwister, but there
is no reason to not make it more generally available through
the Sampler mechanism.

@rfourquet rfourquet added the randomness Random number generation and the Random stdlib label Dec 9, 2017
@rfourquet
Copy link
Member Author

@nanosoldier runbenchmarks("random", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - no performance regressions were detected. A full report can be found here. cc @ararslan

@rfourquet rfourquet force-pushed the rf/rand/samplerize-MT-range branch from e98c4e9 to 4142900 Compare December 12, 2017 12:29
This special implementation was coupled to MersenneTwister, but there
is no reason to not make it more generally available through
the Sampler mechanism.
@rfourquet rfourquet force-pushed the rf/rand/samplerize-MT-range branch from 4142900 to 66f580e Compare December 12, 2017 12:30
@rfourquet rfourquet merged commit 2da4c18 into master Dec 12, 2017
@rfourquet rfourquet deleted the rf/rand/samplerize-MT-range branch December 12, 2017 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
randomness Random number generation and the Random stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants