-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
bpo-46407: Optimizing some modulo operations #30653
Conversation
|
Done. |
I did some pyperf benchmarking on a variety of input sizes: https://gist.github.com/sweeneyde/c13681e7c2c2f086b9082b3e4cfd8137 Up to 1.46x faster, no worse than 1.09x slower. Using Executables were compiled with |
Retain fast path
Fix documentation for l_mod and remove recently added branch.
Fix documentation
Fix conflicts
It seems that PR has lost all activity save for recent fix of conflict. |
PR bump. |
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.
Left some notes about comments that appear to need repairing. Other than those, looks good!
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Thanks for making the requested changes! @tim-one: please review the changes made to this pull request. |
Thanks for making the requested changes! @tim-one: please review the changes made to this pull request. |
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.
Thanks! I'm out of complaints 😄.
PR bump. |
PR bump 2. |
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.
I don't see your name (assuming it's Jeremiah Vivian) in Misc/ACKS
. It's not mandatory that you add it there, but it is traditional. If you'd like to add it there, this would be the time to do it.
Alright. |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Thanks for making the requested changes! @tim-one: please review the changes made to this pull request. |
https://bugs.python.org/issue46407