Function zstd_sys::ZSTD_estimateCDictSize
source · pub unsafe extern "C" fn ZSTD_estimateCDictSize(
dictSize: usize,
compressionLevel: c_int
) -> usize
Expand description
ZSTD_estimate?DictSize() :
ZSTD_estimateCDictSize() will bet that src size is relatively “small”, and content is copied, like ZSTD_createCDict().
ZSTD_estimateCDictSize_advanced() makes it possible to control compression parameters precisely, like ZSTD_createCDict_advanced().
Note : dictionaries created by reference (ZSTD_dlm_byRef
) are logically smaller.