Skip to content

Specialize COMPARE_OP #116

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

Closed
sweeneyde opened this issue Nov 23, 2021 · 2 comments
Closed

Specialize COMPARE_OP #116

sweeneyde opened this issue Nov 23, 2021 · 2 comments

Comments

@sweeneyde
Copy link

Some specialization statistics:

https://gist.github.com/sweeneyde/49cc3a9d074d56cf095cb0a42d13d7a4

Including 3 opcodes: COMPARE_OP_INT and COMPARE_OP_FLOAT and COMPARE_OP_STR (equality only) seems to give pretty good specialization numbers.

@sweeneyde
Copy link
Author

I opened python/cpython#29734

@gvanrossum
Copy link
Collaborator

(To be clear, that PR was merged. Thanks, Dennis!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants