Skip to content

Improve the performance of set_update_internal() #103563

Closed as not planned
Closed as not planned
@thatbirdguythatuknownot

Description

Use PyObject_LengthHint() to possibly avoid incremental resizing of the table for the general case in set_update_internal().

Linked PRs

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