Concurrency.par_map.array: def of bend-kit-concurrency@0.2.0.0 Import: import bend-kit-concurrency@0.2.0.0/concurrency.bend as Concurrency Lines 125-127 of bend-kit-concurrency@0.2.0.0/concurrency.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-concurrency@0.2.0.0/concurrency.bend&start_line=125&end_line=127 import Base # f on every slot of a, on at most `workers` parallel parts. Slots keep their index. def par_map.array(~A: Type, ~B: Type, ~f: A -> B, workers: U32, a: Array) -> Array: par_map.array.go(~A, ~B, ~f, a, U32.log2(workers)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.log2 https://jend.leeeet.dev/definition.txt?path=bend-kit-concurrency@0.2.0.0/concurrency.bend&name=par_map.array.go