Closed joshuaulrich closed 7 years ago
A question on StackOverlow asked about a faster version of %in% analogous to fastmatch::fmatch for base::match. Since %in% is basically a simple wrapper around match, it would be an easy addition... unless I'm overlooking something.
%in%
fastmatch::fmatch
base::match
match
For example:
`%fin%` <- function(x, table) { fmatch(x, table, nomatch = 0L) > 0L }
Great idea!
Would you like me to create a PR where I add %fin% to fastmatch.R and update fastmatch.Rd accordingly?
%fin%
A question on StackOverlow asked about a faster version of
%in%
analogous tofastmatch::fmatch
forbase::match
. Since%in%
is basically a simple wrapper aroundmatch
, it would be an easy addition... unless I'm overlooking something.For example: