rdicosmo / parmap

Parmap is a minimalistic library allowing to exploit multicore architecture for OCaml programs with minimal modifications.

Home Page:http://rdicosmo.github.io/parmap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when ~ncores=1, Parmap should not fork

UnixJunkie opened this issue · comments

We don't want Parmap to be invoked in vain.
Also, this would ease writing tests for Parmap.
List.map is equivalent to Parmap.map ~ncores:1 and there is almost no overhead.