[issue4715] optimize bytecode for conditional branches
Jeffrey Yasskin
report at bugs.python.org
Thu Feb 26 01:49:28 CET 2009
Jeffrey Yasskin <jyasskin at gmail.com> added the comment:
Oh, and no problem with picking up the patches. Thanks for writing them
in the first place.
Here's the backport to trunk. I particularly enjoyed the bit in
pyassem.py where I had to teach the pure-Python compiler that you can
get to a block without going through a relative jump or a fallthrough.
The patch is also #2 at http://codereview.appspot.com/20064.
I'll post performance numbers as soon as I've measured them.
Added file: http://bugs.python.org/file13182/trunk-opt-cond-jump.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4715>
_______________________________________
More information about the Python-bugs-list
mailing list