Skip to content

Make uop executor objects variable length #106608

@gvanrossum

Description

@gvanrossum

Currently _PyUOpExecutorObject contains a fixed-length (_Py_UOP_MAX_TRACE_LENGTH, 32) array of micro instructions. We should switch to the usual variable-length array (making it a PyVarObject) so that we can make the largest superblock larger without paying the memory overhead cost for the full array.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions