Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51447db

Browse files
committed
Clearer compact dict attribution to the original proposal
1 parent e9ee207 commit 51447db

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Doc/whatsnew/3.6.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ CPython implementation improvements:
8181

8282
* The :ref:`dict <typesmapping>` type has been reimplemented to use
8383
a :ref:`more compact representation <whatsnew36-compactdict>`
84-
similar to the `PyPy dict implementation`_. This resulted in dictionaries
84+
based on `a proposal by Raymond Hettinger
85+
<https://mail.python.org/pipermail/python-dev/2012-December/123028.html>`_
86+
and similar to the `PyPy dict implementation`_. This resulted in dictionaries
8587
using 20% to 25% less memory when compared to Python 3.5.
8688

8789
* Customization of class creation has been simplified with the
@@ -581,7 +583,10 @@ New :ref:`dict <typesmapping>` implementation
581583
---------------------------------------------
582584

583585
The :ref:`dict <typesmapping>` type now uses a "compact" representation
584-
`pioneered by PyPy <https://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html>`_.
586+
based on `a proposal by Raymond Hettinger
587+
<https://mail.python.org/pipermail/python-dev/2012-December/123028.html>`_
588+
which was `first implemented by PyPy
589+
<https://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html>`_.
585590
The memory usage of the new :func:`dict` is between 20% and 25% smaller
586591
compared to Python 3.5.
587592

0 commit comments

Comments
 (0)