Skip to main content

count_lwc_parallel

Function count_lwc_parallel 

Source
pub fn count_lwc_parallel(data: &[u8], utf8: bool) -> (u64, u64, u64)
Expand description

Combined parallel counting of lines + words + chars. UTF-8: splits at newline boundaries for fused lines+words+chars per chunk. C locale: fused parallel lines+words with boundary adjustment + parallel chars.