package parany

  1. Overview
  2. Docs
Parallelize any computation

Install

Dune Dependency

Authors

Maintainers

Sources

v14.0.0.tar.gz
sha256=6a90adb96b716f3c46c23989bd21f3c8d3df80fc8f442f2541da49fa28f6c20a
md5=b1d3a64efa26f44e4befe0538fb3dd19

README.md.html

parany

Parallelize any kind of computation

Generalized map reduce for parallel computers (not distributed computing).

Can process a very large file in parallel on a multicore computer; provided there is a way to cut your file into independent blocks (the "demux" function).

Can process in parallel an infinite stream of elements (if you don't care about their processing order). In practice, if the stream is really infinite but you want to collect results in order, some integer counter will eventually overflow and the behavior is unspecified and unknown after this unfortunate event.

The processing function is called "work". The function gathering the results is called "mux". The number of processors running your computation in parallel is called "nprocs".

OCaml

Innovation. Community. Security.