package parany
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ba9aa08018be9f63ad41d4aea76cad155b9c302c3c24785e6dd4e0c18c6588f4
md5=57b8fb2856bfe7c1bdf2c84504a4c2c0
Description
Generalized map reduce for parallel computers (not distributed computing). Can process in parallel an infinite stream of elements.
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). 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'. The chunk size (number of items) processed by one call to the 'work' function is called 'csize'.
Read the corresponding ocamldoc before using.
Published: 29 Feb 2020
README
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.
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".