-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Slow sparse kronecker products #4958
Comments
There are some other bugs in kron too. I am fixing them now. |
The speedup comes from devectorizing one more inner loop, and allocating much fewer objects. For me the original time was 1.7 seconds, but now is faster than matlab:
|
BTW, there were no bugs in |
Nice 20x speedup, Viral! |
Seriously, that's not shabby at all. |
This one turned out to be surprisingly easy. It is getting harder to find such "opportunities"! |
I have found that the kronecker products are much slower compared to matlab.
Is there something that can be done?
In Julia
elapsed time: 1.625884532 seconds
In matlab
Elapsed time is 0.395843 seconds.
The text was updated successfully, but these errors were encountered: