Skip to main content

Module reservoir

Module reservoir 

Available on crate features std and ua only.
Expand description

Deterministic bottom-k sampling independent of transport and emulation randomness.

Structs§

ObservationReservoir
Capacity bounds entry count. The value interner independently bounds payload bytes. Counting and duplicate admission belong to the enclosing ingestion transaction.
ReservoirEntry
The referenced canonical value contains the whole slot or joint observation. Joint values are never reconstructed from independently sampled slots.

Enums§

ReservoirUpdate
Apply insertion/removal to the value interner in the same counting transaction.