2 ms·
I think the Python falcon web server uses eval to produce direct python that executes routing code at run time. I don't have any reason to think it can't be bea
by hyperpape 8y ago
I think the Python falcon web server uses eval to produce direct python that executes routing code at run time. I don't have any reason to think it can't be beat, but it is relatively fast for something done in Python.
More generally, generating code is used for a lot of regex engines, though it may happen before runtime.