Drop-in replacement for reducers/fold
and core/reduce
, where order
doesn't matter.
Drop-in replacement for `reducers/fold` and `core/reduce`, where order doesn't matter.
(fold reducef coll)
(fold combinef reducef coll)
(fold n combinef reducef coll)
Folds over a collection using a parallel reduce-combine strategy. Collection
is partitioned into chunks of approximately n
(default 512), and folded
over with t/tesser
. Unlike reducers fold
, this function does not preserve
order.
Folds over a collection using a parallel reduce-combine strategy. Collection is partitioned into chunks of approximately `n` (default 512), and folded over with `t/tesser`. Unlike reducers `fold`, this function does not preserve order.
(reduce f init coll)
Like clojure.core/reduce, but parallel, using
t/tesserover 512-element chunks. Unlike
core/reduce`, does not preserve order, init must be an
identity element, f must be associative, etc.
Like `clojure.core/reduce, but parallel, using `t/tesser` over 512-element chunks. Unlike `core/reduce`, does not preserve order, init must be an identity element, f must be associative, etc.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close