> 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 -- http://mail.python.org/mailman/listinfo/python-list