If this is a comparison you're goona do more than once then
the best bet is to load the array into a hash as its keys and
determine membership by looking for existance of the hash element.
If this is something you need to do only once, then you're best
off with something like this: