3 ms·
Why is there such a dramatic performance gap / slowdown for 3.10 + 3.11 compared to 3.9.12?
by metadat 4y ago
Why is there such a dramatic performance gap / slowdown for 3.10 + 3.11 compared to 3.9.12?
- arc-in-space 4y agoThat's 3.9.12 of PyPy, not CPython
- qbasic_forever 4y agoThat's pypy 3.9.12, it has a JIT implementation to interpret python. The other two are standard CPython which doesn't JIT interpret the code.
- metadat 4y agoOops, thanks for clarifying.
- charlieyu1 4y agoDoes pypy support numpy now?
- llimllib 4y agoyes $ pip install numpy <snip building wheel> $ python --version && python -c "import numpy; print(numpy.identity(5))" Python 3.9.12 (05fbe3aa5b0845e6c37239768aa455451aa5faba, Mar 29 2022, 09:54:47) [PyPy 7.3.9 with GCC Apple LLVM 13.0.0 (clang-1300.0.29.30)] [[1. 0. 0. 0. 0.] [0. 1. 0. 0. 0.] [0. 0. 1. 0. 0.] [0. 0. 0. 1. 0.] [0. 0. 0. 0. 1.]]
- fordsmith 4y agoNot OP, but are you taking into consideration that it is not Python 3.9, but pypy, which is distinct