Skip to main content

estimate_bits

Function estimate_bits 

Source
pub fn estimate_bits(s: &str) -> f64
Expand description

A rough strength for text the person typed: length times the size of the character pool it draws on. An estimate, labelled as one, never a promise.