X Tutup
Skip to content

Merge the GET_ITER and GET_YIELD_FROM_ITER instructions #145667

@markshannon

Description

@markshannon

Merging GET_ITER and GET_YIELD_FROM_ITER will allow optimizations applied to for loops for common types like lists to also be applied to yield from loops and allow better specialization of SEND improving JIT coverage.

To merge the two instructions, SEND will have to be modified to take an extra NULL input.

This is part of #145047

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15new features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetopic-JIT

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup