If the table is sorted, this can be much faster than %in%
in.bitwhich(x, table, is.unsorted = NULL)a vector of integer
a bitwhich() object or a vector of integer
logical telling the function whether the table is (un)sorted. With
the default NULL FALSE is assumed for bitwhich() tables, otherwise TRUE
logical vector