homepage

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 methane, rhettinger, serhiy.storchaka, vstinner
Date 2016年12月14日.15:15:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481728503.16.0.0689923475908.issue28959@psf.upfronthosting.co.za>
In-reply-to
Content
I wrote a short script to check the size of dict:
---
import sys
def size(obj):
 print(sys.getsizeof(obj))
size({})
size({i:i for i in range(3)})
size({i:i for i in range(10)})
size({i:i for i in range(100)})
---
On Linux x86_64, the sizes don't change with the patch:
240
240
368
4704
A size increase would be a regression, but it's not the case, so it's fine ;-)
History
Date User Action Args
2016年12月14日 15:15:03vstinnersetrecipients: + vstinner, rhettinger, methane, serhiy.storchaka
2016年12月14日 15:15:03vstinnersetmessageid: <1481728503.16.0.0689923475908.issue28959@psf.upfronthosting.co.za>
2016年12月14日 15:15:03vstinnerlinkissue28959 messages
2016年12月14日 15:15:02vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /