This is great. I've seen many discussions of efficiency in R in stats and biology circles over the years but I think this is the first time I've seen something as simple as copy-on-write and treating dataframe columns as individual lists mentioned. I'd be interested in how much faster it was.
Discovering copy-on-write in R
21–23 of 23 posts
Re: Discovering copy-on-write in R
#22The data.table package may also make a huge difference in performance, and often simplifies the code as well https://github.com/Rdatatable/data.table
I’d also be interested to know how the tidyverse’s “tibbles” perform here.
Re: Discovering copy-on-write in R
#23Good to see some R programmers around despite the dominance of python in data science these days.