3 ms·Then move the function to a pyx file and build it with Cython. Problem solved.by fnord123 9y agoThen move the function to a pyx file and build it with Cython. Problem solved.