Issue #27350: Document compact dict memory usage

This commit is contained in:
Victor Stinner 2016-09-12 14:43:14 +02:00
parent 3c336c5915
commit 6287177169
1 changed files with 2 additions and 0 deletions

View 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