Author benjamin.peterson
Recipients benjamin.peterson, ezio.melotti, pkt, python-dev, serhiy.storchaka, vstinner
Date 2014-10-15.17:48:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413395337.610209.179396929.6B4E1831@webmail.messagingengine.com>
In-reply-to <4490123.SR987jhSKl@raxxla>
Content
It's Latin 1, so the chars only use one byte:

>>> sys.getsizeof("üü") - sys.getsizeof("ü")
1

On Wed, Oct 15, 2014, at 13:46, Serhiy Storchaka wrote:
> 
> Serhiy Storchaka added the comment:
> 
> > It's only 341 MB.
> 
> It's 2**32//12*2 ~ 683 MiB for original string (but I'm not sure that
> non-
> ASCII string is needed for this test) + 2**32 = 4GiB if the test will
> fail for 
> some reason. Some buildbots AFAIK have memory less than 683 MiB.
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue22643>
> _______________________________________
History
Date User Action Args
2014-10-15 17:48:59benjamin.petersonsetrecipients: + benjamin.peterson, vstinner, ezio.melotti, python-dev, serhiy.storchaka, pkt
2014-10-15 17:48:59benjamin.petersonlinkissue22643 messages
2014-10-15 17:48:59benjamin.petersoncreate