Skip to content
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

Specialize str[int] #107596

Closed
brandtbucher opened this issue Aug 3, 2023 · 1 comment
Closed

Specialize str[int] #107596

brandtbucher opened this issue Aug 3, 2023 · 1 comment
Assignees
Labels
3.13 bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage

Comments

@brandtbucher
Copy link
Member

brandtbucher commented Aug 3, 2023

According to our stats, BINARY_SUBSCR has a 90% failure rate, and over half of those are due to str[int].

This seems like an easy one to specialize.

Linked PRs

@brandtbucher brandtbucher added performance Performance or resource usage interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.13 bugs and security fixes labels Aug 3, 2023
@brandtbucher brandtbucher self-assigned this Aug 3, 2023
@hauntsaninja
Copy link
Contributor

Nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage
Projects
None yet
Development

No branches or pull requests

2 participants