Skip to content

gh-100239: specialize mixed int/float inplace binary ops#149413

Merged
markshannon merged 1 commit intopython:mainfrom
Wulian233:NB_INPLACE
May 6, 2026
Merged

gh-100239: specialize mixed int/float inplace binary ops#149413
markshannon merged 1 commit intopython:mainfrom
Wulian233:NB_INPLACE

Conversation

@Wulian233
Copy link
Copy Markdown
Contributor

@Wulian233 Wulian233 commented May 5, 2026

@Wulian233
Copy link
Copy Markdown
Contributor Author

Should I request @markshannon review? Thank you!
And I think it can be skip news

@markshannon markshannon self-requested a review May 5, 2026 13:42
Copy link
Copy Markdown
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, simple change.
Looks good to me.

@eendebakpt
Copy link
Copy Markdown
Contributor

Nice! If performance matters for this case, we can also add tier2 ops that use inplace operations in case the float is uniquely referenced. (for a followup PR though)

@markshannon markshannon merged commit 0b75b73 into python:main May 6, 2026
102 of 104 checks passed
@Wulian233 Wulian233 deleted the NB_INPLACE branch May 6, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants