“without trying that much” is a bit misleading. The author went through a basic tutorial of profiling, before suggesting code be rewritten to make use of numpy and Cython.
Well, the first thing they did was double the speed of the code with this:
$ brew install pypy
$ time pypy alignment.py
It starts to be trying a little more after that.
Fair, but if that was the thesis, it should have stopped right there. :)
yea, it seems like in this case, “without trying that much” == “not having to actually handwrite Python C API code”