Hi Milan - thanks for the clues! I found `Base._searchindex`, which work for integers:
julia> a = rand(1:100000, 1000000);
julia> Base._searchindex(a, [19272, 52257], 1)
999986
It's pretty quick, too.
Hi Milan - thanks for the clues! I found `Base._searchindex`, which work for integers:
julia> a = rand(1:100000, 1000000);
julia> Base._searchindex(a, [19272, 52257], 1)
999986
It's pretty quick, too.