I could use some help making this Python code run faster using only Python code.

Matt McCredie mccredie at gmail.com
Fri Sep 21 19:48:07 EDT 2007


> It would be nice if Python could be made to automatically detect the
> LC and string translation patterns used by the unoptimized Python code
> and make them into optimized Python code on the fly at runtime.  I am
> more than a little amazed nobody has chosen to build a JIT (Just In-
> Time compiler) or cached-compiler into Python but maybe that sort of
> thing is just not needed given the fact that Python code can be easily
> optimized to run 30x faster.

See PyPy http://codespeak.net/pypy/ for a JIT comiler for python.
Although it is in the research phase, but worth taking a look at.

Matt



More information about the Python-list mailing list