summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-12-30 06:49:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-12-30 06:49:20 (GMT)
commit51447db47c0f4c9f2ecf0e77b37b238cc947b3e0 (patch)
tree818a6db8b98855e7578471e1b8ebb90a3ff8fd2d
parente9ee207622f0f78e31b8277ccb9eaa895ea3472d (diff)
downloadcpython-51447db47c0f4c9f2ecf0e77b37b238cc947b3e0.zip
cpython-51447db47c0f4c9f2ecf0e77b37b238cc947b3e0.tar.gz
cpython-51447db47c0f4c9f2ecf0e77b37b238cc947b3e0.tar.bz2
Clearer compact dict attribution to the original proposal
-rw-r--r--Doc/whatsnew/3.6.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 4cabb60..2d483a2 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -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.