Skip to main content

byte_histogram

Function byte_histogram 

Source
pub fn byte_histogram(data: &[u8]) -> [u32; 256]
Expand description

Compute byte histogram (frequency of each byte value 0-255).

Uses SIMD acceleration when available.