Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Combine code for sparse model functions and their index files
Combine code for sparse model functions and their index files, i.e. generate only a single file instead of 3 individual files for content, rowvals, and colptrs, respectively. Advantage: Faster import of smaller models and fewer files. For a toy model, this reduced the build steps from 44 to 28, and reduces build time by >20%. Disadvantage: None found, so I don't think it worth adding an option for (not) combining those files. For larger models, there shouldn't be any impact. The extra time for compiling the index arrays should be negligible compared to computing the contents. Related to #2119
- Loading branch information