-
Notifications
You must be signed in to change notification settings - Fork 55
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
Base.stack is underperforming for SparseArrays #498
Comments
Stacking sparse arrays should be slower compared to dense arrays. Is this issue that it is too slow (compared to some other system, or a regression)? |
Should it be slower than moving to dense, stacking, and moving back to Sparse? I don't think so |
Yes, making a sparse matrix dense and then back sparse is a very expensive operation. |
Wondering why this was closed. It doesn't make much sense that I have to move back to a dense array to get a decent performance for stacking sparse arrays |
Describe the bug
Stacking arrays of SparseArrays is slow.
Similar to JuliaGPU/CUDA.jl#2248.
To reproduce
The Minimal Working Example (MWE) for this bug:
As timing I am getting:
Version info
Details on Julia: 1.10
The text was updated successfully, but these errors were encountered: