Closed as not planned
Description
Using a fallback to sparse matrices for many applications can be a major slowdown, and thus structured matrices are used. However, DI does not seem to be compatible with the full gambit.
In particular, DI can be a bit slow because it's missing the use of analytical coloring solutions and faster iteration strategies on structured matrices:
- https://github.com/JuliaArrays/ArrayInterface.jl/blob/master/ext/ArrayInterfaceBandedMatricesExt.jl
- https://github.com/JuliaArrays/ArrayInterface.jl/blob/master/ext/ArrayInterfaceBlockBandedMatricesExt.jl#L207-L244
- https://github.com/JuliaDiff/FiniteDiff.jl/blob/master/ext/FiniteDiffBlockBandedMatricesExt.jl#L16-L68
- https://github.com/JuliaDiff/FiniteDiff.jl/blob/master/ext/FiniteDiffBandedMatricesExt.jl#L13-L27
It would be good if these can be adopted into the DI style so that the full performance on non-SparseMatrixCSC sparse matrices can be recovered.
Metadata
Metadata
Assignees
Labels
No labels