···1212 let mut total = 0u32;
1313 let mut len = 0u32;
14141515- for (i, window) in buf.windows(CHUNK_SIZE).enumerate().step_by(CHUNK_STEP) {
1515+ for (i, window) in buf
1616+ .array_windows::<CHUNK_SIZE>()
1717+ .enumerate()
1818+ .step_by(CHUNK_STEP)
1919+ {
1620 let (window_total, window_diff) =
1721 window
1822 .iter()