[erlang-questions] lists:pmap ?
Wed Aug 23 13:12:17 CEST 2017
Elixir recently introduced Task.async_stream/3,5 functions . The primary feature is a pmap over a collection with a bounded concurrency. It's surprisingly useful and covers a lot of use cases in practice.
An additional nice thing is that it accepts a potentially lazy collection and returns a lazy collection as well, so it's possible to consume only a part of it.
On 23 Aug 2017, 13:07 +0200, zxq9 <>, wrote:
> On 2017年08月22日 火曜日 18:34:44 you wrote:
> > You might want to look at this project
> > http://skel.weebly.com/about-skel.html
> > Which has a number of algorithmic skeletons for parallelizing erlang programs
> Hi, Joe!
> Thank you for pointing out Skel!
> I'll have more time to see how hard it would be to package it (or maybe something derived from it) soon. I imagine it might be an easy way to scratch the pmap-flavored itch Ola was talking about.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions