“ How do you speed up computational Python code? A common, and useful, starting point is”
A better starting point is: use a better language. Python is terrible and unbearably slow. If you need anything serious or performant, switch to something else.