Skip to main content

Module format

Module format 

Source
Expand description

Segment binary format definitions.

The segment file format is designed for mmap and sequential SIMD scans:

  • Little-endian, fixed header
  • Offset table to SoA blocks
  • BPS stored as block-major SoA
  • RDF posting lists stored in VID-striped chunks

Structs§

BlockScale
Block quantization scale
PostingListEntry
RDF posting list directory entry
SegmentFlags
Segment feature flags
SegmentHeader
Segment header - fixed size at file start

Functions§

align_to
Align a value to the next multiple of alignment
bps_offset
Compute the offset of BPS data for a specific block and vector