Expand description
Delta Encoding for Vector Updates
This module provides efficient storage of vector updates by encoding only the differences (deltas) between consecutive vector versions. This is useful for frequently updated vectors where changes are typically small.
Key features:
- Sparse delta encoding (only changed components stored)
- Run-length encoding for contiguous changes
- Configurable compression thresholds
- Version tracking and reconstruction
- Automatic compaction of delta chains
Structs§
- Component
Change - A single component change
- Delta
Config - Configuration for delta encoding
- Delta
Stats - Statistics for delta storage
- Delta
Store Manager - Manager for delta stores across namespaces
- Namespace
Delta Store - Delta store for a namespace
- RleChange
- Run-length encoded change (contiguous range)
- Upsert
Result - Result of an upsert operation
- Vector
Delta - A delta representing changes between vector versions
- Version
Info - Version information for a vector
- Versioned
Vector - A versioned vector with its delta history
Enums§
- Delta
Encoding - Encoding type for a delta
Functions§
- compute_
delta - Compute delta between old and new vectors