MRAB: > Interesting. The re module uses a form of bytecode. Not sure about the > relative cost of the dispatch code, though.
I was talking about the main CPython VM, but the same ideas may be adapted for the RE engine too. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list