Skip to content

Merge LOAD_METHOD back into LOAD_ATTR for better specialization #93429

@Fidget-Spinner

Description

@Fidget-Spinner

LOAD_METHOD split off from LOAD_ATTR in 3.7 as a compiler based optimisation.

I proposed to merge it back to enable better specialization. The actual LOAD_METHOD instruction is left around as a virtual instruction at the moment.

See faster-cpython/ideas#400 (reply in thread)

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesperformancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions