lol oh no my first thought is, yours is worst-case quadratic if x is all NA, but linear if there are no NAs so just throw outer() at it so it's always quadratic:
2 likes 0 replies
?
lol oh no my first thought is, yours is worst-case quadratic if x is all NA, but linear if there are no NAs so just throw outer() at it so it's always quadratic:
2 likes 0 replies