ns for functions that compute their results eagerly.
Accordingly, avoid processing inputs larger than memory.
ns for functions that compute their results eagerly. Accordingly, avoid processing inputs larger than memory.
The clojure.core/map
-like function that partitioning-pmap
will use.
You may want to specify a different function for a finer-grained control of the underlying thread pool.
The `clojure.core/map`-like function that `partitioning-pmap` will use. You may want to specify a different function for a finer-grained control of the underlying thread pool.
(divide-by n coll)
Divides coll
in n
parts. The parts can have disparate sizes if the division isn't exact.
Divides `coll` in `n` parts. The parts can have disparate sizes if the division isn't exact.
(first! coll)
clojure.core/first
which throws when a collection contains more than 1 item
`clojure.core/first` which throws when a collection contains more than 1 item
(partitioning-pmap f coll)
clojure.core/pmap
replacement. Avoids creating more threads than necessary for CPU-bound tasks.
e.g. for a coll
of 20 items and a 6-core machine, 6 fixed threads are used at most, as opposed to 20 shifting threads.
`clojure.core/pmap` replacement. Avoids creating more threads than necessary for CPU-bound tasks. e.g. for a `coll` of 20 items and a 6-core machine, 6 fixed threads are used at most, as opposed to 20 shifting threads.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close