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 kristjan.jonsson
Recipients kristjan.jonsson, pitrou
Date 2012-11-16.09:48:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353059317.5.0.189776338269.issue16475@psf.upfronthosting.co.za>
In-reply-to
Content
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.

Also, separately but related (see second patch) the effort spent in interning names when compiling, is lost when code objects are loaded back from disk.

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.
History
Date User Action Args
2012-11-16 09:48:37kristjan.jonssonsetrecipients: + kristjan.jonsson, pitrou
2012-11-16 09:48:37kristjan.jonssonsetmessageid: <1353059317.5.0.189776338269.issue16475@psf.upfronthosting.co.za>
2012-11-16 09:48:37kristjan.jonssonlinkissue16475 messages
2012-11-16 09:48:37kristjan.jonssoncreate