Python How To Optimise This Cython Function Stack Overflow

Python How To Optimise This Cython Function Stack Overflow