Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
profiling hyp1f1 #650
I started reviving the hyp1f1 from @matthew-brett so we can use it in the nlmeans function. Well, for starters I think I will simply precompute some values and use that, but for a local way of estimating the bias, we will need to have a fast version. So I translated everything to cython (still using gil though), and profiled it. Problem is, I have no idea what I am looking at actually and how to make it faster.
The html version shows a bunch of yellow lines, and the profiling shows numpy as the culprit. Anyone can shed light on how to make it useable? The cython file is here : https://gist.github.com/samuelstjean/5f5343cffcaa0e848fe5
So, finally it's probably gonna be :