pub struct CrushOpts {
pub drop_entropy: f64,
pub max_depth: usize,
pub max_items: usize,
}Expand description
Tuning for a crush pass.
Fields§
§drop_entropy: f64Distinct-value ratio (distinct / items) at or above which an
all-present column is dropped (lossy). 1.0 disables dropping, making
the pass strictly lossless.
max_depth: usizeMaximum recursion depth before a subtree is left untouched.
max_items: usizeArrays larger than this are left untouched (pathology guard).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrushOpts
impl RefUnwindSafe for CrushOpts
impl Send for CrushOpts
impl Sync for CrushOpts
impl Unpin for CrushOpts
impl UnsafeUnpin for CrushOpts
impl UnwindSafe for CrushOpts
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