Psyco is amazing when it works. However, short of moving to a 32-bit version of Python, it doesn't look like we'll get a 64-bit version anytime soon. Are there any alternatives to psyco that can speed up CPU-bound general python code?
Related
What are the possible pitfalls in porting Psyco to 64-bit?
Answer
The answer is to use PyPy instead. From http://psyco.sourceforge.net/introduction.html:
My plans for 2006 are to port the techniques implemented in Psyco to PyPy.
From a PyPy blog post in February:
...highlights and the status of pypy:
* most Python benchmarks run much faster than with CPython or Psyco
* the real-world PyPy compiler toolchain itself (200 KLocs) runs twice as fast
* supports x86 32 and 64bit and is in the process of supporting ARM
...
No comments:
Post a Comment