In the R language, optimization can be achieved by using
furrr::future_map() functions. However, I am not sure how does optimization works for
np.array() methods. Indeed, I would like to understand how does Python and R scales out to parallel processing [1, 2] in terms of complexity and performance.