ocaml-ewah: new package for EWAH-compressed bitmaps
Enhanced Word-Aligned Hybrid bitmap compression (Lemire et al., 2009),
producing the same wire format as git's .bitmap files (EWAH-64,
big-endian). Use case: reachability indexes, commit-graph bitmaps,
membership sets over large sparse domains.
Ships with the full testing ceremony:
- lib/: internal rep is a sorted index Set; serialisation compresses
to git-compatible EWAH. All set algebra runs on the in-memory rep.
- test/: 37 alcotest cases (basic, set algebra, iteration,
serialization roundtrip, error paths) plus 12 inlined hostile cases
(single-bit, 1_000_000-bit, run-straddling-word-boundary, etc).
- test/cram/cli.t/: cram integration test driving a small demo exe,
using the test/cram/ umbrella + setup_scripts pattern.
- fuzz/: Crowbar property tests comparing against Set.Make(Int).