4 ms·
For similar reasons, PyPy's Python implementation can outperform C. https://www.pypy.org/posts/2011/02/pypy-faster-than-c-on-carefully-crafted-5614784244310486
by eesmith 5y ago
For similar reasons, PyPy's Python implementation can outperform C.
https://www.pypy.org/posts/2011/02/pypy-faster-than-c-on-carefully-crafted-5614784244310486765.html https://www.pypy.org/posts/2011/02/pypy-faster-than-c-on-car... - JIT'ing across compilation units
https://www.pypy.org/posts/2011/08/pypy-is-faster-than-c-again-string-6756589731691762127.html https://www.pypy.org/posts/2011/08/pypy-is-faster-than-c-aga... - JIT'ing % interpolation.
(Wow, those are 11 years old. I remember when PyPy was a new project.)