pub struct BmpDimStats {
pub nonzero_dims: u32,
pub declared_dims: u32,
pub total_postings: u64,
pub p50_postings_per_dim: u64,
pub p99_postings_per_dim: u64,
pub max_postings_per_dim: u64,
pub top_1pct_share: f64,
pub saturated_impacts: u64,
pub top_dims: Vec<(u32, u64)>,
}Expand description
Summary statistics for per-dimension postings in a BMP sparse index.
Fields§
§nonzero_dims: u32§declared_dims: u32§total_postings: u64§p50_postings_per_dim: u64§p99_postings_per_dim: u64§max_postings_per_dim: u64Share of all postings held by the hottest 1% of dimensions.
saturated_impacts: u64Postings whose quantized impact is the u8 maximum (weight clipping).
top_dims: Vec<(u32, u64)>Trait Implementations§
Source§impl Clone for BmpDimStats
impl Clone for BmpDimStats
Source§fn clone(&self) -> BmpDimStats
fn clone(&self) -> BmpDimStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BmpDimStats
impl RefUnwindSafe for BmpDimStats
impl Send for BmpDimStats
impl Sync for BmpDimStats
impl Unpin for BmpDimStats
impl UnsafeUnpin for BmpDimStats
impl UnwindSafe for BmpDimStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more