(original) (raw)

changeset: 103708:0773e5cb8608 user: Victor Stinner victor.stinner@gmail.com date: Mon Sep 12 14:43:14 2016 +0200 files: Doc/whatsnew/3.6.rst description: Issue #27350: Document compact dict memory usage diff -r 0e986b81cc1c -r 0773e5cb8608 Doc/whatsnew/3.6.rst --- a/Doc/whatsnew/3.6.rst Mon Sep 12 14:17:40 2016 +0200 +++ b/Doc/whatsnew/3.6.rst Mon Sep 12 14:43:14 2016 +0200 @@ -488,6 +488,8 @@ * :func:`dict` now uses a "compact" representation `pioneered by PyPy`_. + 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/victor.stinner@gmail.com