while/break - The pure-python FSM implementation to Rule Them All.

Paul Rubin http
Wed Jan 25 17:08:45 EST 2006

Carl Cerecke <cdc at maxnet.co.nz> writes:
> 3. Not as fast as byte code hacks, or using pyrex/psyco. Peter Hansen
> is right. One of those is likely a better solution if you don't need
> pure python.

If you don't need pure python than your approach still beats
everything else.  Just generate C code (or assembly code) instead of

More information about the Python-list mailing list