Function brotli::enc::bit_cost::shannon_entropy

source ยท
pub(crate) fn shannon_entropy(
    population: &[u32],
    size: usize,
) -> (floatX, usize)