September 2017
Beginner to intermediate
396 pages
9h 46m
English
monad-par defines the Par monad which defines the following primitives:
Internally, monad-par implements a way to balance these activities across threads by scheduling and balancing them. monad-par allows us to specify parallel tasks without getting into the nitty-gritty of actually scheduling tasks.
Also note that, in this recipe, we have used a threshold to run the task sequentially. This is to increase the granularity of the tasks. This speeds up more speedup when there is no threshold. As because ...
Read now
Unlock full access