Patches item #1765558, was opened at 2007-08-01 18:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1765558&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Performance
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paul Pogonyshev (doublep)
Assigned to: Nobody/Anonymous (nobody)
Summary: small improvement for peephole conditional jump optimizer

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1765558&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to