[][src]Function zstd::dict::from_continuous

pub fn from_continuous(
    sample_data: &[u8],
    sample_sizes: &[usize],
    max_size: usize
) -> Result<Vec<u8>>

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.