aoc::year2021::day18

Function worker

Source
fn worker(shared: &AtomicI32, iter: ParIter<'_, (&[i32; 63], &[i32; 63])>)
Expand description

Pair addition is independent so we can parallelize across multiple threads.