feat: add sparse on-disk format for presence matrices

The index packing API now accepts a `sparse` parameter to generate `PersistentSparseBitMatrix` files alongside existing dense matrices. The sibling cache automatically detects this format via an `is_multi.prsb` marker file and routes queries identically to the dense variant. A new `--sparse` CLI flag exposes the option, with tests verifying end-to-end pipeline correctness and storage equivalence.
This commit is contained in:
Eric Coissac
2026-08-16 21:51:02 +02:00
parent 50f4820cb9
commit 3ba26b3dc1
14 changed files with 279 additions and 24 deletions
+1
View File
@@ -16,6 +16,7 @@ benchmark/simulated_data
benchmark/specimen_index_presence
benchmark/specimen_index_count
benchmark/global_index_presence
benchmark/global_index_presence_sav
benchmark/all_specific
benchmark/global_index_count
benchmark/stats