3 ms·
If you're going the pure Python route, don't forget to try PyPy[1], an alternative JITed implementation of the language. A seriously underrated project, IMHO. M
by Qem 2y ago
If you're going the pure Python route, don't forget to try PyPy[1], an alternative JITed implementation of the language. A seriously underrated project, IMHO. Most time it speeds up execution by a factor of 2x-4x, but improvements of about two orders of magnitude are not unheard of. See for example [2].
Numeric, long-running code shoud suit PyPy optimizations well.
[1] https://pypy.org/ https://pypy.org/
[2] https://morepypy.blogspot.com/2017/10/how-to-make-your-code-80-times-faster.html https://morepypy.blogspot.com/2017/10/how-to-make-your-code-...