[Python-checkins] cpython (3.6): Clearer compact dict attribution to the original proposal
raymond.hettinger
python-checkins at python.org
Fri Dec 30 01:49:46 EST 2016
https://hg.python.org/cpython/rev/1003eabb2705
changeset: 105896:1003eabb2705
branch: 3.6
parent: 105894:0509844f38df
user: Raymond Hettinger <python at rcn.com>
date: Thu Dec 29 23:49:20 2016 -0700
summary:
Clearer compact dict attribution to the original proposal
files:
Doc/whatsnew/3.6.rst | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -81,7 +81,9 @@
* 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 @@
---------------------------------------------
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list