diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-12 12:43:14 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-12 12:43:14 (GMT) |
commit | 6287177169c10d7063836fafd2f4aaf9f69421fa (patch) | |
tree | 3d58408c07cb4f2d9be47717942eb2b5fdd807fa /Doc | |
parent | 3c336c59157ea39f366a0562e710566873cc4fb1 (diff) | |
download | cpython-6287177169c10d7063836fafd2f4aaf9f69421fa.zip cpython-6287177169c10d7063836fafd2f4aaf9f69421fa.tar.gz cpython-6287177169c10d7063836fafd2f4aaf9f69421fa.tar.bz2 |
Issue #27350: Document compact dict memory usage
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index dee400e..eb57f15 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -488,6 +488,8 @@ Some smaller changes made to the core Python language are: * :func:`dict` now uses a "compact" representation `pioneered by PyPy <https://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html>`_. + The memory usage of the new :func:`dict` is between 20% and 25% smaller + compared to Python 3.5. :pep:`468` (Preserving the order of ``**kwargs`` in a function.) is implemented by this. The order-preserving aspect of this new implementation is considered an implementation detail and should |