]> granicus.if.org Git - python/commitdiff
Issue #27350: Document compact dict memory usage
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 12:43:14 +0000 (14:43 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 12:43:14 +0000 (14:43 +0200)
Doc/whatsnew/3.6.rst

index dee400e0aeff247a908c4a5404c721f0e56d0fe2..eb57f159d9168e918fa31ae0646b3c6318adbf0a 100644 (file)
@@ -488,6 +488,8 @@ Some smaller changes made to the core Python language are:
 
 * :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