Function zstd::dict::from_continuous
source ยท pub fn from_continuous(
sample_data: &[u8],
sample_sizes: &[usize],
max_size: usize,
) -> Result<Vec<u8>>
Expand description
Train a dictionary from a big continuous chunk of data.
This is the most efficient way to train a dictionary,
since this is directly fed into zstd
.