Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6287177

Browse files
committed
Issue #27350: Document compact dict memory usage
1 parent 3c336c5 commit 6287177

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/whatsnew/3.6.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ Some smaller changes made to the core Python language are:
488488

489489
* :func:`dict` now uses a "compact" representation `pioneered by PyPy
490490
<https://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html>`_.
491+
The memory usage of the new :func:`dict` is between 20% and 25% smaller
492+
compared to Python 3.5.
491493
:pep:`468` (Preserving the order of ``**kwargs`` in a function.) is
492494
implemented by this. The order-preserving aspect of this new
493495
implementation is considered an implementation detail and should

0 commit comments

Comments
 (0)