Clearer compact dict attribution to the original proposal

This commit is contained in:
Raymond Hettinger 2016-12-29 23:49:20 -07:00
parent e9ee207622
commit 51447db47c
1 changed files with 7 additions and 2 deletions

View File

@ -81,7 +81,9 @@ CPython implementation improvements:
* The :ref:`dict <typesmapping>` type has been reimplemented to use
a :ref:`more compact representation <whatsnew36-compactdict>`
similar to the `PyPy dict implementation`_. This resulted in dictionaries
based on `a proposal by Raymond Hettinger
<https://mail.python.org/pipermail/python-dev/2012-December/123028.html>`_
and similar to the `PyPy dict implementation`_. This resulted in dictionaries
using 20% to 25% less memory when compared to Python 3.5.
* Customization of class creation has been simplified with the
@ -581,7 +583,10 @@ New :ref:`dict <typesmapping>` implementation
---------------------------------------------
The :ref:`dict <typesmapping>` type now uses a "compact" representation
`pioneered by PyPy <https://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html>`_.
based on `a proposal by Raymond Hettinger
<https://mail.python.org/pipermail/python-dev/2012-December/123028.html>`_
which was `first implemented 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.