pub fn entropy_to_bpf(entropy: f64) -> u8
Expand description

Heuristically calculates bits per fragment that gives about constant length average code size. entropy should equals to entropy or a bit less, e.g. entropy minus 0.2