Comment Comment by karencarits > For example, in R, we try to avoid loops because they are very inefficientThis was true before, but the performance of for loops has been improved a lot later years, and while vectorization is still faster, for loops are no longer a no-noSee https://www.r-bloggers.com/2022/02/avoid-loops-in-r-really/ parent karencarits 3 years ago
This was true before, but the performance of for loops has been improved a lot later years, and while vectorization is still faster, for loops are no longer a no-no
See https://www.r-bloggers.com/2022/02/avoid-loops-in-r-really/