Pass-by-reference is not supported for Sparse types
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18k
- Forks
- 2.3k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 10
Description
As described in the passy-by-reference doc, I wonder:
- is there any particular reason not to support ref for sparse types?
- since not supported, if I have sparse matrix constructed in python via
scipy.sparse.csr_matrix, then have to pass it by value to c++, would this bring much overhead if I have to do a mini-batch processing on the data?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked pass-by-reference documentation for Eigen bindings and trace how scipy.sparse.csr_matrix values are converted for C++. The issue does not name source files or tests; completion would require a decided approach for sparse reference support or a documented explanation of the current overhead and limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100