Skip to main content

train_dict

Function train_dict 

Source
pub fn train_dict(samples: &[&[u8]], max_size: usize) -> Option<Vec<u8>>
Expand description

Train a zstd dictionary on the unique chunks (needs at least 8 samples).