Parallel implementation of map
VlasovRoman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 11 06:01:57 PDT 2016
On Wednesday, 11 May 2016 at 12:40:20 UTC, Daniel Kozak wrote:
> Dne středa 11. května 2016 13:25:50 CEST, VlasovRoman via
> Digitalmars-d-learn napsal(a):
>
>> Hey, guys!
>> After many attempts pmap function was realized by me. This is
>> analogous to taskPool.amap function, but I do not know how
>> much he is good. In simple tests, it showed a corresponding
>> acceleration. I would like to ask you to advise me options to
>> improve this function. If all this makes sense, I can make a
>> DUB package.
>>
>> https://gist.github.com/VlasovRoman/4c78a123acd44b3da8b96b43637df080
>>
>>
>
> Why just not use:
> https://dlang.org/phobos/std_parallelism.html#.TaskPool.map
I was trying it, but this issue was stopping me.
https://issues.dlang.org/show_bug.cgi?id=5710
More information about the Digitalmars-d-learn
mailing list