def par_map.array

bend-kit-concurrency@0.2.0.0 · concurrency.bend:125

import bend-kit-concurrency@0.2.0.0/concurrency.bend as Concurrency
import Base

125# f on every slot of a, on at most `workers` parallel parts. Slots keep their index.
126def par_map.array(~A: Type, ~B: Type, ~f: A -> B, workers: U32, a: Array<A>) -> Array<B>:
127  par_map.array.go(~A, ~B, ~f, a, U32.log2(workers))

Uses (4)

Used by (0)

No other definition uses this definition.