paranyversion
Parallelize any computation
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 chunk size (number of items) processed by one call to the 'work' function is called 'csize'.
There is a minimalist Parmap module, if you want to switch to/from Parmap easily.
Read the corresponding ocamldoc before using.
Author | Francois Berenger |
---|---|
License | LGPL-2.0-or-later |
Published | |
Homepage | https://github.com/UnixJunkie/parany |
Issue Tracker | https://github.com/UnixJunkie/parany/issues |
Maintainer | unixjunkie@sdf.org |
Dependencies |
|
Source [http] | https://github.com/UnixJunkie/parany/archive/v13.0.1.tar.gz sha256=f239e003ce1a0ca99a8a231b4aeebe686862e06812357f58a25b381fb98d0c8f md5=d3b66e12a246039c9aa30265fe73db5b |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/parany/parany.13.0.1/opam |