Double dispatch in R: S4 vs vctrs library

67 Views Asked by At

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

There are 0 best solutions below