domainslib
domainslib copied to clipboard
parallel_map
As discussen in #33 it appears useful to have a parallel_map function over arrays. The signature would be
val parallel_map : Domainslib.Task.pool -> ('a -> 'b) -> 'a array -> 'b array . The pool comes first as in the other parallelization functions.
I asked the author of parany for his opinion on a good parallel API. see https://github.com/UnixJunkie/parany/issues/55#issuecomment-894117856 for an answer.