Message229484
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>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2014-10-15 17:48:59 | benjamin.peterson | set | recipients:
+ benjamin.peterson, vstinner, ezio.melotti, python-dev, serhiy.storchaka, pkt |
2014-10-15 17:48:59 | benjamin.peterson | link | issue22643 messages |
2014-10-15 17:48:59 | benjamin.peterson | create | |
|