pingora_header_serde::dict

Function train

Source
pub fn train<P: AsRef<Path>>(dir_path: P) -> Vec<u8>
Expand description

Train the zstd dictionary from all the files under the given dir_path

The output will be the trained dictionary