[issue7593] Computed-goto patch for RE engine

Antoine Pitrou report at bugs.python.org
Wed Dec 30 17:36:49 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

On the principle nothing looks wrong. There are some tabs-vs-spaces
issues in _sre.c. Can some out-of-bounds crash be triggered if an opcode
is greater than 33?

It needs some benchmarks to know whether it's efficient. Also, I think
it would be nice to include regeneration of the opcode table in the
build process. Since it's very light-weight it can be done
unconditionally (I suppose it will be done from setup.py, right?).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7593>
_______________________________________


More information about the Python-bugs-list mailing list