• v1.4.11
    Release / create-release (push) Successful in 29s
    Release / build-linux-x86_64 (push) Successful in 7m5s
    Release / build-macos-arm64 (push) Failing after 13s
    Stable

    coissac released this 2026-12-02 18:53:22 +00:00 | 0 commits to main since this release

    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
    Downloads