Skip to content

Commit 4e1107d

Browse files
committed
Fix mapreduce documentation
1 parent 218ed32 commit 4e1107d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/base.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,10 @@ end
173173
"""
174174
dmapreduce(val, map, fold, workers)
175175
176-
Run `map`s (non-modifying transforms on the data) and `fold`s (2-to-1
177-
reductions) on the worker-local data (in `val`s) distributed on `workers` and
178-
return the final reduced result.
176+
A distributed work-alike of the standard `mapreduce`: Take a function `map` (a
177+
non-modifying transform on the data) and `fold` (2-to-1 reduction of the
178+
results of `map`), systematically run them on the data described by `val`
179+
distributed on `workers`, and return the final reduced result.
179180
180181
It is assumed that the fold operation is associative, but not commutative (as
181182
in semigroups). If there are no workers, operation returns `nothing` (we don't

0 commit comments

Comments
 (0)