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

  1. self-assigned this
    on Jan 26, 2024
  2. corona10 commented on Jan 26, 2024

    @corona10
    MemberAuthor

    Change my mind, see: #114582 (comment)

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