Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented May 3, 2024

Most module names are interned and immortalized, but the main module's name was not. This partially addresses a scaling bottleneck in the free-threaded when creating closure concurrently in the main module.

Most module names are interned and immortalized, but the `__main__`
module was not. This partially addresses a scaling bottleneck in the
free-threaded when creating closure concurrently in the main module.
Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@colesbury colesbury merged commit 24e643d into python:main May 3, 2024
@colesbury colesbury deleted the gh-118527-__main__ branch May 3, 2024 15:05
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
…118528)

Most module names are interned and immortalized, but the main
module was not. This partially addresses a scaling bottleneck in the
free-threaded when creating closure concurrently in the main module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants