pub fn find_hash_factor_for_dictionary(
tokens: impl IntoIterator<Item = Vec<u8>>,
) -> u64Expand description
Find a suitable hash factor for a set of given tokens that prevents collisions when
constructing a BytePairEncoding from those tokens.