Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.35 KB

File metadata and controls

56 lines (33 loc) · 1.35 KB

iqdb-quantize — API Reference

Complete reference for every public item in iqdb-quantize, with examples. Status: pre-1.0. Sections marked (planned) describe the intended surface as it lands across the 0.x series.

Table of Contents


Overview

iqdb-quantize compresses f32 vectors into smaller representations while preserving search quality. A million 768-dim vectors drop from ~3 GB to as little as ~96 MB, trading a controlled amount of recall for memory.


Tier 1 — the lazy path

Documented as the 0.2 foundation lands.


Tier 2 — the configured path

Documented at 0.3.


Tier 3 — traits

The trait seams custom backends plug into. Documented as they stabilise.


Errors

Domain error type built on error-forge (#[non_exhaustive]). Variants documented at 0.2.


Feature flags

Feature Default Description
std yes Standard library.
serde no Serialization support.

Copyright © 2026 James Gober.