Skip to content

Update Py_SIZE() as the atomic operation for free-threaded build. #114603

Description

@corona10

See: #114582 (comment)

There is some pain point if we make Py_SIZE() as atomic for loop execution on immutable object case,
we can optimize those cases by hand very easily.

cc @colesbury

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions