Sparse move
Reference issue
Fixes #2238 (closed)
What does this implement/fix?
Optimized SparseMatrix
move constructor and move assignment to call swap
directly. Adds SparseMatrix
move and assignment constructors for arguments that inherit from SparseCompressedBase
. These don't always result in a cheap copy, but they use existing markAsRValue()
logic to enable optimizations if conditions are right.
And vectors.
Additional information
Edited by Charles Schlosser