Think of Psyco as a kind of just-in-time JIT compiler, a little bit like what exists for other languages, that emit machine code on the fly instead of interpreting your Python program step by step. The difference with the traditional approach to JIT compilers is that Psyco writes several version of the same blocks a block is a bit of a function , which are optimized by being specialized to some kinds of variables a "kind" can mean a type, but it is more general. The result is that your unmodified Python programs run faster. Psyco currently uses a lot of memory. It only runs on Intel compatible processors under any OS right now. There are some subtle semantic differences i. The actual performance gains can be very large. For common code, expect at least a 2x speed-up, more typically 4x. But where Psyco shines is when running algorithmical code these are the first pieces of code that you would consider rewriting in C for performance. If you are in this situation, consider using Psyco instead!


Product details
Navigation menu
Relive the funniest moments that happened before the opening credits of " The Office. Watch the video. A wheelchair-bound photographer spies on his neighbors from his apartment window and becomes convinced one of them has committed murder. A former police detective juggles wrestling with his personal demons and becoming obsessed with a hauntingly beautiful woman.
Customer reviews
High-level languages need not be slower than low-level ones. Psyco is a Python extension module which can greatly speed up the execution of any Python code. Psyco is unmaintained and dead. Python 2.
Psyco was a specializing just-in-time compiler for Python originally developed by Armin Rigo and further maintained and developed by Christian Tismer. Development ceased in December, Psyco was written in C and generated only bit x86 -based code. Psyco can noticeably speed up CPU-bound applications. The actual performance depends greatly on the application and varies from a slight slowdown to a x speedup. Psyco also advertises its ease of use: the simplest Psyco optimization involves adding only two lines to the top of a script: [9]. These commands will import the psyco module, and have Psyco optimize the entire script. This approach is best suited to shorter scripts, but demonstrates the minimal amount of work needed to begin applying Psyco optimizations to an existing program. From Wikipedia, the free encyclopedia. Not to be confused with Psycho.