package parany
Parallelize any computation
Install
Dune Dependency
Authors
Maintainers
Sources
v13.1.0.tar.gz
sha256=00a63674b3248f6a04dab20518c4afeefafeeb8525a5bb7035ba4514608e0006
md5=f8af0fbac532e4aa7cf382f13daa8a52
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 multi-core 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".
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>