You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes sense! I'd only @njit functions that are called many times, in general — such as model evaluation functions in a curve-fitting routine. Or things that are called in loops!
There are some fancy compilation-saving routines that are possible — such as ahead-of-time compilation, I believe.
So far my plan is to use @njit only on the very core functions that are called many times, such as fourier() or gaussian(). I've looked at AOT but it seems too much for this issue. Probably we can quietly run such functions once PIPS is imported?
Numba
@njit
slows down the code for the first run, probably due to the compilation time. Is there any way to compile when PIPS is imported?The text was updated successfully, but these errors were encountered: