FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-84436: Make Interned Strings Immortal by ericsnowcurrently · Pull Request #102887 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-84436: Make Interned Strings Immortal
- #102887
#102887
Draft
ericsnowcurrently
wants to merge 19 commits into
python:main
python/cpython:main
from
ericsnowcurrently:immortal-interned-strings
ericsnowcurrently/cpython:immortal-interned-strings
Copy head branch name to clipboard
Conversation
Commits
19
(19)
Checks
Files changed
Draft
gh-84436: Make Interned Strings Immortal
#102887
ericsnowcurrently
wants to merge 19 commits into
python:main
python/cpython:main
from
ericsnowcurrently:immortal-interned-strings
ericsnowcurrently/cpython:immortal-interned-strings
Copy head branch name to clipboard
Commits
Commits on Mar 22, 2023
Factor out add_threadstate().
ericsnowcurrently
committed
546b934
View commit details
Copy full SHA for 546b934
Browse repository at this point
Add _PyThreadState_InitDetached().
ericsnowcurrently
committed
0bcd136
View commit details
Copy full SHA for 0bcd136
Browse repository at this point
Add _PyThreadState_ClearDetached().
ericsnowcurrently
committed
35d5310
View commit details
Copy full SHA for 35d5310
Browse repository at this point
Add _PyRuntime.cached_objects.main_tstate.
ericsnowcurrently
committed
cba9e34
View commit details
Copy full SHA for cba9e34
Browse repository at this point
Add _Py_AcquireGlobalObjectsState() and _Py_ReleaseGlobalObjectsState().
ericsnowcurrently
committed
3b1bb8b
View commit details
Copy full SHA for 3b1bb8b
Browse repository at this point
Add _Py_AddToGlobalDict().
ericsnowcurrently
committed
eb42aa1
View commit details
Copy full SHA for eb42aa1
Browse repository at this point
Drop _Py_AcquireGlobalObjectsState() and _Py_ReleaseGlobalObjectsState().
ericsnowcurrently
committed
4e9da2d
View commit details
Copy full SHA for 4e9da2d
Browse repository at this point
Add acquire_global_objects_lock() and release_global_objects_lock().
ericsnowcurrently
committed
6216207
View commit details
Copy full SHA for 6216207
Browse repository at this point
Add some TODO comments.
ericsnowcurrently
committed
3c007c0
View commit details
Copy full SHA for 3c007c0
Browse repository at this point
Factor out store_interned().
ericsnowcurrently
committed
7d95514
View commit details
Copy full SHA for 7d95514
Browse repository at this point
Store a thread state to use just for interned strings.
ericsnowcurrently
committed
5c20b84
View commit details
Copy full SHA for 5c20b84
Browse repository at this point
Always use the main interpreter when possibly resizing the interned dict.
ericsnowcurrently
committed
a3ae02a
View commit details
Copy full SHA for a3ae02a
Browse repository at this point
Use _PyRuntime.cached_objects.main_tstate instead.
ericsnowcurrently
committed
d5fbc37
View commit details
Copy full SHA for d5fbc37
Browse repository at this point
Add _PyThreadState_IsBound() and _PyThreadState_Unbind().
ericsnowcurrently
committed
459325f
View commit details
Copy full SHA for 459325f
Browse repository at this point
Make sure the one-off tstate is bound before using it.
ericsnowcurrently
committed
4f25244
View commit details
Copy full SHA for 4f25244
Browse repository at this point
Use _Py_AcquireGlobalObjectsState() in store_interned().
ericsnowcurrently
committed
e68535a
View commit details
Copy full SHA for e68535a
Browse repository at this point
Use _Py_AddToGlobalDict().
ericsnowcurrently
committed
22753b3
View commit details
Copy full SHA for 22753b3
Browse repository at this point
Make objects stored in global containers immortal.
ericsnowcurrently
committed
b649a84
View commit details
Copy full SHA for b649a84
Browse repository at this point
Immortalize the interned strings dict.
ericsnowcurrently
committed
9b0dc99
View commit details
Copy full SHA for 9b0dc99
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL