jdb_pgm 0.3.4

Ultra-fast single-threaded PGM-Index optimized for thread-per-core architecture / 专为单线程一核架构优化的超快 PGM 索引
Documentation
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;