lms_complexity

Function lms_complexity 

Source
pub fn lms_complexity(data: &[u8]) -> f64
Expand description

Given a sample slice of the data (5k suggested), compute the data complexity. A complexity of less than 0.3 indicates that SA-IS is the better algorithm than the native sort_unstable algorithm.