[issue24085] large memory overhead when pyc is recompiled

R. David Murray report at bugs.python.org
Sat Jun 2 14:29:02 EDT 2018


R. David Murray <rdmurray at bitdance.com> added the comment:

That's presumably due to the compile-time constant-expression optimization.  Have you tried bytes(0x1000000)?  I don't think that gets treated as a constant by the optimizer (but I could be wrong since a bunch of things ahve been added to it lately).

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24085>
_______________________________________


More information about the Python-bugs-list mailing list