pydata / sparse

Sparse multi-dimensional arrays for the PyData ecosystem
https://sparse.pydata.org
BSD 3-Clause "New" or "Revised" License
604 stars 127 forks source link

ENH: CSC and CSF formats for MLIR backend #775

Closed mtsokol closed 2 months ago

mtsokol commented 2 months ago

Hi @hameerabbasi,

This PR adds support for CSC and CSF formats.

codspeed-hq[bot] commented 2 months ago

CodSpeed Performance Report

Merging #775 will degrade performances by 51.94%

Comparing more-formats (e5e0511) with main (f97fa03)

Summary

❌ 2 regressions ✅ 338 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main more-formats Change
test_index_fancy[side=100-rank=1-format='coo'] 680.3 µs 1,415.6 µs -51.94%
test_index_slice[side=100-rank=2-format='gcxs'] 3.3 ms 3.7 ms -12.43%