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

Insert shim frames at entries points to the interpreter. #96421

Closed
markshannon opened this issue Aug 30, 2022 · 0 comments
Closed

Insert shim frames at entries points to the interpreter. #96421

markshannon opened this issue Aug 30, 2022 · 0 comments
Labels
performance Performance or resource usage

Comments

@markshannon
Copy link
Member

markshannon commented Aug 30, 2022

Inserting shim frames simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR and enables for to be specialized for generators, and await to be specialized for coroutines.

See faster-cpython/ideas#436 for full discussion

@markshannon markshannon added the performance Performance or resource usage label Aug 30, 2022
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
Labels
performance Performance or resource usage
Projects
None yet
Development

No branches or pull requests

1 participant