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

Update random picker to use math/rand's Intn function #892

Closed
wants to merge 3 commits into from

Conversation

nathanejohnson
Copy link
Member

@nathanejohnson nathanejohnson commented Jul 16, 2022

this is faster and more portable. fixes #871

math/rand's Intn function is 4x faster faster and more portable.

fixes #871
@nathanejohnson nathanejohnson force-pushed the bugfix/issue_871_randpicker_broken branch from 3fcd91f to bd644b9 Compare July 16, 2022 02:51
@nathanejohnson nathanejohnson deleted the bugfix/issue_871_randpicker_broken branch July 16, 2022 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant