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 serprex
Recipients belopolsky, benjamin.peterson, jyasskin, mark.dickinson, pitrou, rhettinger, serprex
Date 2010-07-08.16:25:39
SpamBayes Score 0.0405803
Marked as misclassified No
Message-id <1278606341.84.0.885316250639.issue9155@psf.upfronthosting.co.za>
In-reply-to
Content
The seperation of COMPARE_OP into multiple opcodes shouldn't affect cache size since the opcodes are aliased. Spreading out the switch statement shouldn't cause issue from flattening, since GCC would inline the single use of cmp_outcome. Thus the only bloat is the wrapper overhead, which I believe the C code is relatively large with respect to the macros. As for DUP_TOP_TWO, that's smaller than DUP_TOPX

It may be suitable to benchmark on other systems besides my own due to the subversive nature of caches; I've seen improvement in any code that uses comparisons. To consider, however, is that ceval.o dropped from 268592B to 267448B. This is reflected in that the interpreter's executable dropped from 6721842B to 6719866B

Raymond, what do you mean with respect to the peepholer? I believe my changes there have shown it to be a simplification of the code
History
Date User Action Args
2010-07-08 16:25:42serprexsetrecipients: + serprex, rhettinger, mark.dickinson, belopolsky, pitrou, jyasskin, benjamin.peterson
2010-07-08 16:25:41serprexsetmessageid: <1278606341.84.0.885316250639.issue9155@psf.upfronthosting.co.za>
2010-07-08 16:25:40serprexlinkissue9155 messages
2010-07-08 16:25:39serprexcreate