PyPy does basically this. So does the tentative project Pyjion. Also Numba,
but on a pre-function basis. It's not a bad ideas, and one that currently
exists with varying degrees of refinement in several projects. I may have
forgotten a few others. I suppose Brython in a sense.
This is very unlikely to make it into core CPython because code simplicity
is one of its goals. But all those other projects would welcome your help.
On Jun 30, 2017 8:22 AM, "Steven D'Aprano"
CPython should get a tracing JIT that turns slow bytecode into fast bytecode.
Are you volunteering to do the work? -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/