http://www.perlmonks.org?node_id=629819


in reply to Re: how to speed up dupe checking of arrays
in thread how to speed up dupe checking of arrays

Update: the module at List::MoreUtils actually has a uniq function that does exactly what you need. This may be faster?