setequaloutperforms other approaches when we can expected that vectors have the same length.- If vectors vary in length or can be NULL, using
lengthandintersect(is_set_same6()) is superior to all others, evensetequal.
# testing speed of finding identical vectors
library(compare)
#>
#> Attache Paket: 'compare'