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 doublep
Recipients
Date 2007-08-01.15:48:29
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This tiny patch adds optimization for the case of conditional jump to UNARY_NOT followed by another conditional jump.  Those NOTs are optimized in turn, but this happens later in peephole pass, so this patch does make difference.

Net improvement is that jump branches can become shorter by a command sometimes.  Bytecode itself shouldn't become shorter, though.
History
Date User Action Args
2007-08-23 15:59:30adminlinkissue1765558 messages
2007-08-23 15:59:30admincreate