Skip to content

Better performance for code getters in C API #95756

Closed
@Fidget-Spinner

Description

@Fidget-Spinner

Continuing from #94936, we should make these APIs offer performance advantages in 3.12.

I want a better/more performant implementation for 3.12. It will cache the debug info in a lazy debug struct much like how we do it for PyInterpreterFrame and PyFrameObject now.

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