Skip to content

Add BINARY_AND_INT to specialize BINARY_AND for int #100165

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
corona10 opened this issue Dec 11, 2022 · 1 comment
Closed

Add BINARY_AND_INT to specialize BINARY_AND for int #100165

corona10 opened this issue Dec 11, 2022 · 1 comment
Assignees
Labels
performance Performance or resource usage type-feature A feature request or enhancement

Comments

@corona10
Copy link
Member

corona10 commented Dec 11, 2022

According to stats, BINARY_AND_INT will cover 50.7% of failure, if we add the specialized opcode for this, the success ratio of BINARY_OP will be highly increased.

I want to listen to the opinion of @markshannon about this task.

Linked PRs

@corona10 corona10 added type-feature A feature request or enhancement performance Performance or resource usage labels Dec 11, 2022
@corona10 corona10 self-assigned this Dec 11, 2022
@corona10 corona10 changed the title Specialize BINARY_AND for int Add BINARY_AND_INT to specialize BINARY_AND for int Dec 11, 2022
corona10 added a commit to corona10/cpython that referenced this issue Dec 11, 2022
corona10 added a commit to corona10/cpython that referenced this issue Dec 11, 2022
@corona10
Copy link
Member Author

For the stat: #100166 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance or resource usage type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant