What does parallelReduce do? #920
Replies: 1 comment
-
Note: In case you didn't know, reduction means taking a bunch of items and processing them recursively, so that result of the previous process become the input of the next one. As an example, if we were to reduce
|
Beta Was this translation helpful? Give feedback.
-
parallelReduce
is an abbreviation of awhile
loop combined with a fork.parallelReduce
allows a value to be repeatedly updated by racing participants until thewhile
loop's condition is no longer true.https://docs.reach.sh/rsh/consensus/#parallelreduce--intuition
Beta Was this translation helpful? Give feedback.
All reactions