See: https://github.com/python/cpython/pull/114582#discussion_r1467685702 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
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