Open albersonmiranda opened 3 months ago
Is there use cases with 2/3 sparsity ratio to justify sparse algebra?
Is there use cases with 2/3 sparsity ratio to justify sparse algebra?
Yes, Exiobase 2022 has 68% of zeros entries. {fio} should use sparse matrix algebra when:
length(obj) > 1e6
(sum(obj == 0) / sum(obj != 0) > 0.66
But only makes sense working on it after #47 , since such matrix sizes appears on multi-region IOTs.
Use sparse matrix algebra when involving identity matrix arithmatics (I-A; A / x). Expected increase in performance as showed in #41.