[Python-checkins] cpython: Issue #27350: Document compact dict memory usage
victor.stinner
python-checkins at python.org
Mon Sep 12 08:47:31 EDT 2016
https://hg.python.org/cpython/rev/0773e5cb8608
changeset: 103708:0773e5cb8608
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Sep 12 14:43:14 2016 +0200
summary:
Issue #27350: Document compact dict memory usage
files:
Doc/whatsnew/3.6.rst | 2 ++
1 files changed, 2 insertions(+), 0 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
@@ -488,6 +488,8 @@
* :func:`dict` now uses a "compact" representation `pioneered 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.
:pep:`468` (Preserving the order of ``**kwargs`` in a function.) is
implemented by this. The order-preserving aspect of this new
implementation is considered an implementation detail and should
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list