← All examples · Home

08. Delete & compaction (M1 / M2)

Deletes are tombstones: the id vanishes from results instantly (no GPU rewrite). Memory is reclaimed when the store is persisted + reloaded (snapshots compact out deleted rows). Also demonstrates update (tombstone + append) and compact() (in-place rebuild). The fp32 config runs everywhere (via the WASM CPU fallback); the int8 x IVF config is GPU-only and is skipped without WebGPU.

ready.