brotli
7.0.0
In brotli::enc::bit_cost
Function
brotli
::
enc
::
bit_cost
::
shannon_entropy
Copy item path
source
ยท
[
−
]
pub(crate) fn shannon_entropy( population: &[
u32
], size:
usize
, ) -> (
floatX
,
usize
)