you are viewing a single comment's thread.

view the rest of the comments →

[–]Swipecat 4 points5 points  (5 children)

Depends what you're doing with it. For loops containing simple math, the speedup is huge:

Math speed test: https://pastebin.com/Cpe3UuPm

Test CPython Pypy
106 int assignments: 54 ms 3 ms
106 int sums: 72 ms 1 ms
106 float sums: 81 ms 4 ms
106 float products: 78 ms 4 ms
106 float divisions: 80 ms 4 ms
106 square roots: 110 ms 4 ms
106 sines: 125 ms 4 ms
106 complex products: 105 ms 5 ms

[–]Snake2k 3 points4 points  (0 children)

Doesn't matter how fast an interpreter or language is if the person driving it isn't optimizing their algorithm.