-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Insert shim frames at entries points to the interpreter. #96421
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
Labels
performance
Performance or resource usage
Comments
markshannon
added a commit
that referenced
this issue
Nov 10, 2022
* Adds EXIT_INTERPRETER instruction to exit PyEval_EvalDefault() * Simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR instructions as they no longer need to check for entry frames.
ethanfurman
pushed a commit
to ethanfurman/cpython
that referenced
this issue
Nov 12, 2022
…6319) * Adds EXIT_INTERPRETER instruction to exit PyEval_EvalDefault() * Simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR instructions as they no longer need to check for entry frames.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inserting shim frames simplifies
RETURN_VALUE
,YIELD_VALUE
andRETURN_GENERATOR
and enablesfor
to be specialized for generators, andawait
to be specialized for coroutines.See faster-cpython/ideas#436 for full discussion
The text was updated successfully, but these errors were encountered: