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 serhiy.storchaka
Recipients Robert.Elsner, jcea, mark.dickinson, pitrou, r.david.murray, serhiy.storchaka
Date 2012年06月23日.12:47:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340455638.2747.132.camel@raxxla>
In-reply-to <1340454254.78.0.553704382944.issue14596@psf.upfronthosting.co.za>
Content
Now internal representation of Struct with small format string may
consume unexpectedly large memory and this representation may be
invisible cached. With patch you can get large internal representation
only for large format strings. It is expected.
And how about struct_sizeof.patch? Now sys.getsizeof() returns wrong
result for Struct:
28
>>> sys.getsizeof(struct.Struct('100B'))
28
The patch (it compatible with both Struct representations) fixes it:
52
>>> sys.getsizeof(struct.Struct('100B'))
1240
History
Date User Action Args
2012年06月23日 12:47:05serhiy.storchakasetrecipients: + serhiy.storchaka, jcea, mark.dickinson, pitrou, r.david.murray, Robert.Elsner
2012年06月23日 12:47:04serhiy.storchakalinkissue14596 messages
2012年06月23日 12:47:04serhiy.storchakacreate

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