def par_reduce.array

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

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

139# The slots of a combined in index order with an associative f, on at most
140# `workers` parallel parts. An Array is never empty, so no identity is needed.
141def par_reduce.array(~A: Type, ~f: A -> A -> A, workers: U32, a: Array<A>) -> A:
142  par_reduce.array.go(~A, ~f, a, U32.log2(workers))

Uses (4)

Used by (0)

No other definition uses this definition.