Message275581
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. |
|
Date |
User |
Action |
Args |
2016-09-10 06:48:15 | vstinner | set | recipients:
+ vstinner, rhettinger, methane, ethan.furman, python-dev, serhiy.storchaka, dilettant |
2016-09-10 06:48:15 | vstinner | set | messageid: <1473490095.71.0.301513730006.issue27350@psf.upfronthosting.co.za> |
2016-09-10 06:48:15 | vstinner | link | issue27350 messages |
2016-09-10 06:48:15 | vstinner | create | |
|