Antoine Pitrou added the comment:

> This change is specifically aimed at code objects.
> As it is, it is impossible to produce code objects that share common
> data (e.g. filename strings, common tuples, name strings, etc) that
> don't unserialize to separate objects.

Shouldn't strings be interned when the code object is unmarshalled?

> This change is based on work done at CCP to reduce the size of
> compiled code in memory.  Simple preprocessing of code objects prior
> to writing them to disk can result in important memory savings.

How important?


Python tracker <>
Python-bugs-list mailing list

Reply via email to