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 nnorwitz
Recipients nnorwitz
Date 2008-02-25.02:41:39
SpamBayes Score 0.05817421
Marked as misclassified No
Message-id <1203907300.87.0.511382024936.issue2185@psf.upfronthosting.co.za>
In-reply-to
Content
Various bits are often duplicated in code objects.  For example,
sometimes names and varnames are equal.  In this case, we don't need two
objects since they are both const.  This patch implements a trivial fix
for this case.  However, there are more cases.  We should profile where
the memory is being used and do simple/cheap consolidations where
possible.  Another example would be a 1-element tuple containing:
(None,) for consts.

Some (all?) of these sorts of optimizations should probably be done in
the code object itself.
History
Date User Action Args
2008-02-25 02:41:40nnorwitzsetspambayes_score: 0.0581742 -> 0.05817421
recipients: + nnorwitz
2008-02-25 02:41:40nnorwitzsetspambayes_score: 0.0581742 -> 0.0581742
messageid: <1203907300.87.0.511382024936.issue2185@psf.upfronthosting.co.za>
2008-02-25 02:41:40nnorwitzlinkissue2185 messages
2008-02-25 02:41:39nnorwitzcreate