nplyr icon indicating copy to clipboard operation
nplyr copied to clipboard

Using `furrr::future_map` instead of `purrr::map`

Open talegari opened this issue 2 years ago • 1 comments

@markjrieke Great effort with the package!

Changing every purrr::map to furrr::future_map (in general, every purrr function with equivalent furrr function) will help in:

  1. Using parallel processing with user preferred backend via future (runtime user setting).
  2. Will fall back to serial (same as purrr::map) when parallel backend is not set.

talegari avatar Jul 19 '22 07:07 talegari

This is a great suggestion, thank you!

markjrieke avatar Jul 20 '22 14:07 markjrieke