[SciPy-Dev] Re: Question: Can LowLevelCallable functions be beneficial to scipy.optimize performance?

2024-02-18 Thread Andrew Nelson
On Mon, 19 Feb 2024 at 07:15, wrote: > I also have found tremendous benefits from LowLevelCallable in my > applications. Here is a small benchmark I gathered : > https://gabrielfougeron.github.io/choreo-docs/_build/auto_examples/benchmarks/ODE_ivp_LowLevel_bench.html#sphx-glr-build-auto-examples-

[SciPy-Dev] Re: Question: Can LowLevelCallable functions be beneficial to scipy.optimize performance?

2024-02-18 Thread Andrew Nelson
Dear Oyibo, first of all, I should say that I'm not convinced that the example contained in the matecdev site is a good example. Whilst I haven't checked it seems that using `interpolate.LSQUnivariateSpline` may achieve what that poster was trying to accomplish, and would be much faster than the py

[SciPy-Dev] Re: Question: Can LowLevelCallable functions be beneficial to scipy.optimize performance?

2024-02-19 Thread Andrew Nelson
On Mon, Feb 19, 2024, 19:28 Gabriel Fougeron wrote: > > Do you think it would be possible to develop your examples to the point > where it's an easier tutorial for us. > > On the other hand, dealing with the LowLevelCallable in your own code is a > mess! Especially (like I did) if you want to som