Blog Archives

Mythical Generic Overhead

November 4, 2017
Mythical Generic Overhead

Computational overhead analysis of using generic+method approach instead of if-else sequence and switch statement. Prologue Earlier this week I came across this tweet from Thomas (author of many useful and powerful R packages): Should If else blocks that checks class always be converted to generic+methods? Please discuss #rstats— Thomas Lin Pedersen (@thomasp85)...

Read more »

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)