package parany
Install
Dune Dependency
Authors
Maintainers
Sources
md5=e6372cc7d128447f42e33693a9f8233d
sha512=df93d81e7618ce2c8cde95760827648f9d22c6cf4827e211bf6b9d9f13e8ed78947243add19778a372f7bf56a19c4968f23233e113287a3abb9fb77f2b78347f
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: 01 Jul 2019
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".