|
|
|
|
|
by littlestymaar
680 days ago
|
|
Thanks for the answer, this part is particularly interesting indeed: > Despite this being an utterly useless program we've learnt something that we can apply later on: Our smallest unit of work should probably be a bit bigger than ~7 ns before we reach for Rayon. That's a very interesting project. The big limitation I see with the current approach is that the usability of the library is much worth than what Rayon offers. The true magic of Rayon is that you just replace `iter()` with `par_iter()` in you code and voilà! now you have a parallel execution.
But yes it has some overhead, so maybe Rayon could try and implement this kind of scheduling as an alternative so that people pick what works best for their use-case. |
|
> the usability of the library is much worse than what Rayon
I'm a little bit ashamed to see that this fairly upvoted comment of mine has such an stupid English mistake in it…