-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-45636: Merge BINARY_*
/INPLACE_*
into BINARY_OP
/INPLACE_OP
#29255
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
Looks good in general. A couple of minor issues. |
Thinking about this a bit more... I'd like to merge this as-is, then open a follow-up PR with the more complex implementation that performs fewer memory reads. I want to at least see some movement on the benchmarks before committing to that. |
🤖 New build scheduled with the buildbot fleet by @brandtbucher for commit befdc3f 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
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.
A couple more things
When you're done making the requested changes, leave the comment: |
The latest changes seem to have introduced a ~1% performance regression (the initial PR was "1.00x slower"). Many of the biggest slowdowns seem to be in historically sensitive benchmarks, though:
|
I can confirm the slowdown, which is a bit puzzling. |
Closing in favor of #29418, which is based on an earlier commit on this branch (and has no perf impact). |
https://bugs.python.org/issue45636