scverse / scanpy

Single-cell analysis in Python. Scales to >1M cells.
https://scanpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.93k stars 603 forks source link

Performance: Investigate `pp.scale` with sparse matrices #2986

Open Intron7 opened 7 months ago

Intron7 commented 7 months ago

With the new numba kernel for sparse scaling, we need to figure out how and when the numba code becomes faster than the array code. This might lead to numba completly replaceing the array operations for sparse matrices.

ivirshup commented 7 months ago

Would be a nice use case for working on the usability of benchmarks (related to #2977)