when ~ncores=1, Parmap should not fork
UnixJunkie opened this issue · comments
François Bérenger commented
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.