I have a program in python using numpy and scipy. adding cython in it will be a time taking process as there are many changes in data types
The cprofile of it looks like this: https://i.stack.imgur.com/O2J9O.jpg
Most of the time (73% ) is used up by <scipy.integrate_odepack.odeint>
My question basically is, does using cython speed up this function(maybe by faster calling) and the rest.
This function is called ~10^6 times in this example.
And if so, How much speed up can I expect?
I consider pursuing this if speed up is atleast 4x to 5x
注:
If the information provided is insufficient, please comment below and I d be glad to provide
谢谢。