3 ms·
Pypy, probably. You could also consider writing pre compiled extensions for your "hot" code, eg. in Cython.
by auxym 4y ago
Pypy, probably. You could also consider writing pre compiled extensions for your "hot" code, eg. in Cython.
- dilawar 4y agopypy is great if you are not already using numpy heavily. Pure python libraries like networkx and myhdl showed 20x speedup when I used it a couple of years ago. For pure python code, pypy provides free lunch.