Skip to main content

b2j_work

Function b2j_work 

Source
pub fn b2j_work(a: &[char], b: &[char]) -> u64
Expand description

Estimated b2j inner-loop work Σ_c count_a(c)·count_b(c) — exactly the positions the first-block scan visits; the dispatch signal, also exposed for benchmarking. (oa·ob folds the non-ASCII tail.)