Files
obiskim/ReleaseNotes/version-1.4.11.md
T
Eric Coissac 93ff24c4dd
Release / create-release (push) Successful in 29s
Release / build-linux-x86_64 (push) Successful in 7m5s
Release / build-macos-arm64 (push) Failing after 13s
refactor: restructure sparse bit matrix handling and add compressed columns
Refactor the sparse bit matrix implementation by splitting builder logic into dedicated modules and introducing a new `CompressedBitColumn` type for in-memory presence data. This change supports sparse output modes in merge operations, where presence data is compressed in RAM rather than written to disk immediately.

- Move `PersistentSparseBitMatrixBuilder` and related functions from `src/obicompactvec/src/bitmatrix/sparse.rs` to `src/obicompactvec/src/bitmatrix/sparse/builder.rs`
- Move `write_varint` from `src/obicompactvec/src/bitmatrix/sparse.rs` to `src/obicompactvec/src/bitmatrix/sparse/set_dict.rs`
- Add `src/obicompactvec/src/compressed_column.rs` with `CompressedBitColumn` for in-memory compressed presence data
- Add `src/obicompactvec/src/bitmatrix/sparse/append.rs` with `SparseBase`, `Source`, and `write_sparse_presence` functions
- Update `src/obicompactvec/src/matrix_builder.rs` and `src/obicompactvec/src/mem_builder.rs` to support detached memory columns and compression
- Add `src/obikmerge/src/partition_merge/output.rs` with `Target`, `Output`, and `Group` structs for managing merge output states
- Add `MergeSpec` struct in `src/obikmerge/src/partition_merge/mod.rs` and update `merge_partition` to use it
- Add tests in `src/obicompactvec/src/tests/sparse_append.rs` and `src/obikmerge/src/tests.rs` for sparse append and merge operations
- Update `src/obiskim/Cargo.toml` and `src/Cargo.lock` to bump `obiskim` version to 1.4.11
- Add documentation in `DevDocMD/implementation/merge.md` detailing sparse presence output behavior
2026-12-02 19:52:45 +01:00

1.3 KiB

Release Notes for obiskim (Rust k-mer genomics tool) 1.4.11

Features

  • Genome Set Trie Example: Added src/obicompactvec/examples/genome_set_trie.rs demonstrating the construction and measurement of a set trie using PersistentBitMatrix. Includes helper structs (SetTrie, Node, EdgeHasher, StepStats) and validation against a naive implementation.

Internal

  • Sparse Bit Matrix Refactoring: Restructured sparse bit matrix handling to support sparse output modes in merge operations, where presence data is compressed in RAM rather than written to disk immediately.
    • Introduced CompressedBitColumn for in-memory compressed presence data.
    • Split builder logic into dedicated modules: sparse/builder.rs, sparse/set_dict.rs, and sparse/append.rs.
    • Updated matrix_builder.rs and mem_builder.rs to support detached memory columns and compression.
  • Merge Operations: Added MergeSpec struct and updated merge_partition to utilize it. Introduced Target, Output, and Group structs in partition_merge/output.rs for managing merge output states.
  • Documentation: Added DevDocMD/implementation/merge.md detailing sparse presence output behavior.
  • Tests: Added tests for sparse append and merge operations in obicompactvec and obikmerge.