DavisVaughan / furrr

Apply Mapping Functions in Parallel using Futures
https://furrr.futureverse.org/
Other
695 stars 39 forks source link

Vignette: Increment progressor after iteration #248

Open zeehio opened 1 year ago

zeehio commented 1 year ago

I believe the progress bar should start at 0% and reach 100% when all iterations are done. Therefore the progressor should advance when the task has finished, not when the task starts.

Otherwise the progress bar starts and immediately increases, and it stalls at 100% until the last iterations finish.

This pull request moves the p() to the end of the iteration to reach the described effect.

Thanks for your package and your time.

Feel free to close this if you disagree.