pub fn check_fastcover_sample_count(
options: &FastCoverOptions,
sample_count: usize,
) -> Result<()>Available on crate feature
dict-builder only.Expand description
check_cover_sample_count for FastCOVER, whose search scores on a
quarter of the samples unless split_point says otherwise.
§Errors
§Examples
use structured_zstd::dictionary::{FastCoverOptions, check_fastcover_sample_count};
let search = FastCoverOptions::default();
assert!(check_fastcover_sample_count(&search, 6).is_err());
assert!(check_fastcover_sample_count(&search, 8).is_ok());