Skip to content

Pass reference to func, as well as args, when pushing frame.#31100

Merged
markshannon merged 1 commit intopython:mainfrom
faster-cpython:move-func-ref-to-locals
Feb 3, 2022
Merged

Pass reference to func, as well as args, when pushing frame.#31100
markshannon merged 1 commit intopython:mainfrom
faster-cpython:move-func-ref-to-locals

Conversation

@markshannon
Copy link
Member

Minor efficiency improvement. When pushing a frame we transfer the references to the args to the frame. This does the same for the func.

Also removes unused function _PyThreadState_PushFrame.

This is all internal.

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit fa60366 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 3, 2022
@markshannon markshannon merged commit da4d4ec into python:main Feb 3, 2022
@markshannon markshannon deleted the move-func-ref-to-locals branch February 3, 2022 18:36
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.

3 participants