r-lib / vctrs

Generic programming with typed R vectors
https://vctrs.r-lib.org
Other
289 stars 66 forks source link

Use ALTREP for recycling #49

Open hadley opened 6 years ago

hadley commented 6 years ago

So we don't have to copy the input data

hadley commented 6 years ago

Currently ALTREP is only usable for integer, double, and character vectors.

hadley commented 5 years ago

Would be particularly useful it we could implement something like rep() that supported both each and times arguments.