scverse / mudata

Multimodal Data (.h5mu) implementation for Python
https://mudata.rtfd.io
BSD 3-Clause "New" or "Revised" License
75 stars 17 forks source link

Optimise update for large shared axis #24

Closed gtca closed 2 years ago

gtca commented 2 years ago

Names along the shared axis (e.g. obs) are assumed to be intersecting. This can and should be handled faster than the general case. Addresses things discussed in #4.

codecov-commenter commented 2 years ago

Codecov Report

Merging #24 (f4f8990) into master (fbfc634) will increase coverage by 1.64%. The diff coverage is 86.90%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   68.20%   69.84%   +1.64%     
==========================================
  Files          12       13       +1     
  Lines        1434     1585     +151     
==========================================
+ Hits          978     1107     +129     
- Misses        456      478      +22     
Impacted Files Coverage Δ
mudata/_core/mudata.py 64.07% <78.43%> (+0.20%) :arrow_up:
tests/test_update_axis_1.py 90.59% <90.59%> (ø)