How to parallelize something which allocates a lot?

Distributed.jl, which offers pmap and @distributed.

But reducing allocations and removing eval(Meta.parse(...)) will help a lot with both Distributed and @threads.

3 Likes