Double dispatch in R: S4 vs vctrs library

Viewed 52

If we want to implement a double dispatch method in R, we currently have two options to choose from:

I especially mean arithmetic operators, such as + or *.

How do they compare in terms of performance? Are their overheads comparable?

0 Answers
Related