Right, but the point is that you're not doing anything else if the condition is true.<div><br></div><div>I can't say for sure, but it would seem that it could easily convert the if ... continue into a "branch on equal" type bytecode. What happens if you have a print statement before the continue?<br>
<div><br clear="all">Eric<br>
<br><br><div class="gmail_quote">On Sun, Jul 3, 2011 at 6:41 AM, Laurens Van Houtven <span dir="ltr"><_@lvh.cc></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hang on. This appears to be for *unconditional* jumps. My jump isn't unconditional, it's "if snr is None or prn is None:". How does that get optimized away? Where's the always-true condition? "prn is None or snr is None" is certainly not always true, in fact, that's the exception, not the norm.<br>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
<br></blockquote></div><br></div></div>