-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Small clean-ups for the random module #21038
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
Conversation
The default argument Baseline timings:
New timings:
|
* Timings should only include data generation and exclude analysis * Can now use the statistics library * Use f-strings for formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me. Not sure what's up with int
v floor
- the latter is much faster (over factor of 3) for me under a current master build (Win64) than under the released 3.8.1.
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
GH-21065 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 26a1ad1) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Timings: