Skip to main content

Parallelization

Benchmarking future.apply

·286 words·2 mins
For loops are very commonly used for performing tasks in series. However, the apply family of functions and a new framework (future.apply) allow to perform this tasks in parallel, which might be more performant than the classical for-loop in R.