Expand description
Zero-copy read-only index view (VecqView) — issue #25.
Parse the v1.2/v1.3/v1.4/v1.5 on-disk layout without copying codes or
scales, so an index can be served straight from a memory map. Any owner
works: memmap2::Mmap, &[u8], Box<[u8]>, Vec<u8> — the view only
needs &[u8].
Scoring goes through the same shared kernel dispatch as [crate::store:: VecqIndex] and the layout is identical, so a view and a loaded index
over the same bytes return bit-identical results (tested).
Views are always dense: to_bytes drops tombstones before writing, and
the keyed API layer is in-memory by design (#10/#16) — not available on
a borrowed, read-only slice.