4 ms·
The funny thing is that any module that needs to be "fast" is written in C, and uses cpython's C-python interface. So a JIT for python can only act on half the
by keeperofdakeys 13y ago
The funny thing is that any module that needs to be "fast" is written in C, and uses cpython's C-python interface. So a JIT for python can only act on half the code, and not the part that might need to be really fast.
- sanxiyn 13y agoHence PyPy people rewriting CPython's C extensions in Python to make them fast. For example, rewriting JSON encoding from C to Python resulted in a decent speedup. http://morepypy.blogspot.com/2011/10/speeding-up-json-encoding-in-pypy.html http://morepypy.blogspot.com/2011/10/speeding-up-json-encodi...