-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vectorized overloads for array arguments #58
base: main
Are you sure you want to change the base?
Conversation
Hello, will this get merged? |
hopefully at some point.. |
Hi, I did some simple testing of this PR and I saw that (for my particular case) I didn't gain any performance. In it, I compared the performance of running both quad and quad_vec with a non-JITed and with a JITed integrand. My results are the following:
So I actually lost performance when using both quad_vec and numba, compared to only using one of them. Here's the code, in case that you want to test it yourselves:
|
This PR dynamically creates Python functions in order to
vectorize
the functions exposed bynumba-scipy
. This can serve as a stand-in until numba/numba#6954 is addressed.Closes #56.