Presuming you&#x27;ve actually profiled it to know its CPU intensive, or you&#x27;re in a field where this &#x27;goes without saying&#x27; (e.g. you&#x27;re doing a bunch of math calculations within Python)....<p>Then I&#x27;d suggest you use Cython for a speed up or try using PyPy which can be 200% faster without any changes.<p>When I used Python and worked with financial data, every live algorithm would be recoded as a Cython extension.