Module reservoir
Available on crate features
std and ua only.Expand description
Deterministic bottom-k sampling independent of transport and emulation randomness.
Structs§
- Observation
Reservoir - Capacity bounds entry count. The value interner independently bounds payload bytes. Counting and duplicate admission belong to the enclosing ingestion transaction.
- Reservoir
Entry - The referenced canonical value contains the whole slot or joint observation. Joint values are never reconstructed from independently sampled slots.
Enums§
- Reservoir
Update - Apply insertion/removal to the value interner in the same counting transaction.