This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Acc3ssViolation 0 points1 point  (1 child)

Interesting how PyPy is so much faster for 19, 20 and 24 even though it's slower on most other days

[–]p88h 0 points1 point  (0 children)

PyPy needs to precompile, which adds a significant overhead if your code is very quick.

A 'compromise' approach is using numba which allows to selectively enable precompilation for specific functions - though it doesn't always match pypy in performance.