-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
GH-132732: Use pure op machinery to optimize COMPARE_OP_INT/FLOAT/STR
#137062
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
Merged
savannahostrowski
merged 15 commits into
python:main
from
savannahostrowski:constant_compare
Jul 26, 2025
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2c046f1
In progress
savannahostrowski 8341b8d
Merge branch 'main' into constant_compare
savannahostrowski 8723267
Works for int
savannahostrowski 4c86003
Remove extraneous asserts
savannahostrowski f5d2210
Add back deleted test
savannahostrowski db7f2e7
Optimize compare_op_str and add test
savannahostrowski f537ca0
Optimize compare_op_float, add tests and header
savannahostrowski a87045d
uncomment
savannahostrowski d06cf6c
📜🤖 Added by blurb_it.
blurb-it[bot] eafa153
Merge branch 'main' into constant_compare
savannahostrowski 2cbc5a0
Merge branch 'main' into constant_compare
savannahostrowski 4b50bc8
Merge branch 'constant_compare' of https://github.com/savannahostrows…
savannahostrowski 67e24a7
Fix indent?
savannahostrowski 5b01de8
Apply suggestions from code review
savannahostrowski 34ff87d
Fix comment
savannahostrowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
📜🤖 Added by blurb_it.
- Loading branch information
commit d06cf6cba900d98a0f46a3e8539e3182c1043bea
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core_and_Builtins/2025-07-24-02-13-59.gh-issue-132732.p77xkb.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Optimize constant comparison for _COMPARE_OP_INT, _COMPARE_OP_FLOAT and _COMPARE_OP_STR in JIT builds | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.