1 2 3 4 5 6 7 8
//! Constants for PGM-Index //! PGM 索引常量 pub const MIN_EPSILON: usize = 1; pub const MIN_LUT_BINS: usize = 1024; pub const MAX_LUT_BINS: usize = 1 << 20; pub const LUT_BINS_MULTIPLIER: usize = 4; pub const ZERO_SLOPE_THRESHOLD: f64 = 1e-18;