This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dilettant, ethan.furman, methane, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2016-09-10.06:48:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473490095.71.0.301513730006.issue27350@psf.upfronthosting.co.za>
In-reply-to
Content
It seems like the memory usage is between 20% and 25% smaller. Great job!

Memory usage, Python 3.5 => Python 3.6 on Linux x86_64:

./python -c 'import sys; print(sys.getsizeof({str(i):i for i in range(10)}))'

* 10 items: 480 B => 384 B (-20%)
* 100 items: 6240 B => 4720 B (-24%)
* 1000 items: 49248 B => 36984 B (-25%)

Note: the size is the the size of the container itself, not of keys nor values.
History
Date User Action Args
2016-09-10 06:48:15vstinnersetrecipients: + vstinner, rhettinger, methane, ethan.furman, python-dev, serhiy.storchaka, dilettant
2016-09-10 06:48:15vstinnersetmessageid: <1473490095.71.0.301513730006.issue27350@psf.upfronthosting.co.za>
2016-09-10 06:48:15vstinnerlinkissue27350 messages
2016-09-10 06:48:15vstinnercreate