-
-
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
sparse A+B is twice as slow with Int32 indices (on nightly build 0.4+pre7330) #12981
Comments
Probably similar problem as the last one. I'll take a look. |
Should be fixed in #12984. Keep 'em coming. Good that we have someone checking performance with Int32s on a 64-bit system. |
Thanks for fixing these, really nice work. There's one other thing that's a little "off" - unfortunately this isn't going to be a good bug report... It seems the sparse() function is about twice as slow as its equivalent in Octave. Something about the factor of 2 gives me deja vu all over again ;) Matlab is way slower, not competitive. Looking at several other useful operations, it all looks pretty competitive in Julia - perhaps transpose is missing a trick somewhere? But it's not a particularly crucial function.
Julia results:Julia Version 0.4.0-pre+7330
Octave results:GNU Octave Version: 4.0.0
Matlab results:MATLAB Version: 8.1.0.604 (R2013a)
|
Regarding |
I inserted a Would be nice to make
|
It is preferable to have this discussion in a separate issue. How to read this table? What is the number outside the parentheses and inside? |
Average and standard deviation. |
On version 3.11, adding two sparse matrices A+B is equally fast with Int64 or Int32 indices. On the nightly build 0.4.0-pre+7330, the Int32 indices are 2X slower. Code and results below:
[jiahao - code block formatting]
The text was updated successfully, but these errors were encountered: