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

Use tstate->interp to get the interpreter state in bytecodes.c #107506

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

brandtbucher
Copy link
Member

Super minor... we already have tstate handy, so there's no need to go through thread-local storage or whatever to get it again each time we make one of these calls.

@brandtbucher brandtbucher added performance Performance or resource usage skip issue skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Jul 31, 2023
@brandtbucher brandtbucher self-assigned this Jul 31, 2023
@brandtbucher brandtbucher changed the title Use tstate->interp to get the interpreter state in bytecodes.c Use tstate->interp to get the interpreter state in bytecodes.c Jul 31, 2023
@brandtbucher brandtbucher merged commit dfb55d9 into python:main Jul 31, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants