-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for parallel maps? #29
Comments
There is https://juliafolds.github.io/Transducers.jl/dev/manual/#Transducers.withprogress using Transducers
tcollect(Map(f), withprogress(xs)) or equivalently using ThreadsX
ThreadsX.map(f, withprogress(xs)) might work. using Transducers
dcollect(Map(f), withprogress(xs)) They use ProgressLogging behind the scene. |
Nice, I should be using Transducers.jl instead of the lower level packages then. Is there a way to print variables in the loop with |
You can put dcollect(Map(x -> (@show(x); x)) |> Filter(p) |> Map(f), withprogress(xs)) |
Nice, will try to rewrite my scripts accordingly. :) |
I am considering the package for a simulation script. Does it already support parallel maps like the
progress_pmap
function from ProgressMeter.jl?The text was updated successfully, but these errors were encountered: