mirror of
https://github.com/python/cpython.git
synced 2025-07-27 13:14:41 +00:00
Add a blurb about PEP 412
This commit is contained in:
parent
c20740109d
commit
d94adb7367
1 changed files with 12 additions and 0 deletions
|
@ -477,6 +477,18 @@ new, more precise information::
|
||||||
'<function C.D.meth at 0x7f46b9fe31e0>'
|
'<function C.D.meth at 0x7f46b9fe31e0>'
|
||||||
|
|
||||||
|
|
||||||
|
PEP 412: Key-Sharing Dictionary
|
||||||
|
===============================
|
||||||
|
|
||||||
|
:pep:`412` - Key-Sharing Dictionary
|
||||||
|
PEP written and implemented by Mark Shannon.
|
||||||
|
|
||||||
|
Dictionaries used for the storage of objects' attributes are now able to
|
||||||
|
share part of their internal storage between each other (namely, the part
|
||||||
|
which stores the keys and their respective hashes). This reduces the memory
|
||||||
|
consumption of programs creating many instances of non-builtin types.
|
||||||
|
|
||||||
|
|
||||||
Using importlib as the Implementation of Import
|
Using importlib as the Implementation of Import
|
||||||
===============================================
|
===============================================
|
||||||
:issue:`2377` - Replace __import__ w/ importlib.__import__
|
:issue:`2377` - Replace __import__ w/ importlib.__import__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue