Skip to content

Add replication to LOAD_FAST_BORROW to speed up the JITΒ #134140

@Fidget-Spinner

Description

@Fidget-Spinner

Feature or enhancement

Proposal:

This is relatively straightforward, but requires a lot of googling issue/PR searching before understanding what's happening. Please don't take this issue unless you're a sprinter at PyCon US, and if you want to take it there, ask @brandtbucher.

Basically, LOAD_FAST has replicate(x) in bytecodes.c, but not LOAD_FAST_BORROW. Considering LOAD_FAST_BORROW is now more common than LOAD_FAST, we should replicate it.

Reserving this issue for someone sprinting at PyCon US, to welcome them to the community with a fairly small-scale, but likely to improve performance issue.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions