2 ms·
PyPy is mentioned in the article but omitted from the "Lets review some of the main points" summary. > If Python is your bottleneck (you’ve already optimized a
by wyldfire 10y ago
PyPy is mentioned in the article but omitted from the "Lets review some of the main points" summary.
> If Python is your bottleneck (you’ve already optimized algorithms/etc.), then move the hot-spot to Cython/C
After "If Python is your bottleneck", I'd just add "then try PyPy because there's a decent chance everything will Just Work and Be Faster." Sometimes you run into portability bugs in your code, other people's code, and sometimes you run into compatibility problems. But most of the time it Just Works.