Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.10] bpo-45116: Shrink interpreter by targetted revert of #25244#28475

Merged
pablogsal merged 1 commit into
python:3.10python/cpython:3.10from
faster-cpython:de-duplicate-dispatchfaster-cpython/cpython:de-duplicate-dispatchCopy head branch name to clipboard
Sep 29, 2021
Merged

[3.10] bpo-45116: Shrink interpreter by targetted revert of #25244#28475
pablogsal merged 1 commit into
python:3.10python/cpython:3.10from
faster-cpython:de-duplicate-dispatchfaster-cpython/cpython:de-duplicate-dispatchCopy head branch name to clipboard

Conversation

@markshannon

@markshannon markshannon commented Sep 20, 2021

Copy link
Copy Markdown
Member

By moving the pre-dispatch code (saving lasti, checking for tracing and advancing the instruction pointer) to just before the switch we save (N-1) copies of it (where N is the number of opcodes).

https://bugs.python.org/issue45116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.