summaryrefslogtreecommitdiff
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-12-29 23:49:20 -0700
committerRaymond Hettinger <python@rcn.com>2016-12-29 23:49:20 -0700
commitd72b34435bb17ad60a0ffd9dea44193ae656f7ae (patch)
tree0bddcceeafd2cb6d109374f8c09ae86c5fce8737 /Doc/whatsnew
parentf1ea52dc25720b914dd57910df22ac3a35a5ff00 (diff)
downloadcpython-d72b34435bb17ad60a0ffd9dea44193ae656f7ae.tar.gz
Clearer compact dict attribution to the original proposal
Diffstat (limited to 'Doc/whatsnew')
-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 4cabb60b4c..2d483a26e5 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.