Skip to main content

Module codec

Module codec 

Source

Structs§

CompressedBlock
A serialized compressed block with codec metadata.
ExactFallbackCodec
Exact fallback codec: stores raw f32 bytes with no compression.
FibQuantAdapter
Adapter for the fib-quant crate (k=4, N=32, paper core path).
TurboQuantAdapter
Adapter for the turbo-quant crate (8-bit, 32 projections).

Traits§

KVecCodec
A codec compresses and decompresses KV vectors.

Functions§

create_codec
Create a codec from a policy and vector dimension.