pub enum TargetHllType {
Hll4,
Hll6,
Hll8,
}Expand description
Controls the internal representation HLL uses to store per-bucket
state, trading memory for accuracy. Mirrors upstream’s
datasketches::target_hll_type.
Hll4 is the most memory-compact; Hll8 is the least compact but
fastest to update and most accurate at small cardinalities.
Variants§
Hll4
4 bits per bucket — most memory-compact.
Hll6
6 bits per bucket.
Hll8
8 bits per bucket — least compact, fastest, most accurate at small n.
Trait Implementations§
Source§impl Clone for TargetHllType
impl Clone for TargetHllType
Source§fn clone(&self) -> TargetHllType
fn clone(&self) -> TargetHllType
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 moreimpl Copy for TargetHllType
Source§impl Debug for TargetHllType
impl Debug for TargetHllType
impl Eq for TargetHllType
Source§impl From<TargetHllType> for TargetHllType
impl From<TargetHllType> for TargetHllType
Source§fn from(t: TargetHllType) -> Self
fn from(t: TargetHllType) -> Self
Converts to this type from the input type.
Source§impl From<TargetHllType> for TargetHllType
impl From<TargetHllType> for TargetHllType
Source§fn from(t: TargetHllType) -> Self
fn from(t: TargetHllType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TargetHllType
impl PartialEq for TargetHllType
impl StructuralPartialEq for TargetHllType
Auto Trait Implementations§
impl Freeze for TargetHllType
impl RefUnwindSafe for TargetHllType
impl Send for TargetHllType
impl Sync for TargetHllType
impl Unpin for TargetHllType
impl UnsafeUnpin for TargetHllType
impl UnwindSafe for TargetHllType
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