rdicosmo / parmap

Parmap is a minimalistic library allowing to exploit multicore architecture for OCaml programs with minimal modifications.
http://rdicosmo.github.io/parmap/
Other
94 stars 20 forks source link

I suspect the current implementations of parmapfold and parfold are far from optimal #72

Closed UnixJunkie closed 5 years ago

UnixJunkie commented 6 years ago

One example: parallel folding over a list will first convert it into an array. I think this is unnecessary. I may send some propositions (as code) soon.

UnixJunkie commented 6 years ago

hmmm... Not sure I will send code, parmap's code is quite complex in fact. Or, I can send some standalone code, as a proof of concept.

UnixJunkie commented 6 years ago

can this issue be assigned to me? I may look into it when my poster (due for next week...) is ready

UnixJunkie commented 6 years ago

In theory, I think parfold should be even faster than parmap, because less data needs to be serialized back to the father process.

UnixJunkie commented 5 years ago

Not grounded on facts. Just a suspicion.