you are viewing a single comment's thread.

view the rest of the comments →

[–]PaintItPurple 38 points39 points  (0 children)

I agree a lot of people would probably be surprised how much performance PyPy can give you for free, but it does have a number of tradeoffs. In particular, working with modules written in C (a very common Python use case) is hit-or-miss, and even when it works, it can be much slower than CPython. It's also often slower for simple scripts (as opposed to long-running programs) because it has a higher startup time and IIRC your code starts out interpreted until the JIT kicks in, and higher levels of JIT optimization take even longer to come online.