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
Speed improvements to `gravmag.tesseroid` #58
Moved some things over to Cython, precomputing sines and cossines, using buffers to avoid malloc in loops and removed most numpy array fancy indexing.
Current bottlenecks are:
So it seems that, if I need to split he tesseroid a lot, then the Python code is really slow.