KissThreading.jl
KissThreading.jl copied to clipboard
Destination free tmap
I often find it useful to have a parallel loop replacement. @threads works in this use case, but it is awkward and can introduce closure performance issues. It would be nice to be able to write:
tfor(1:J) do j
...
end
maybe it should be called tforeach as a companion to foreach?
Yes tforeach is nicer.