in reply to Re^4: CPAN Module to determing overlap of 2 lists?
in thread CPAN Module to determing overlap of 2 lists?

> Currently I feel the regex solution is interesting, but still not my first choice. I'll dig deeper if I start profiling.

For completeness.

Another approach would be combining a binary search with string equality eq if your priorities tend towards performance.

Of course you could change to a division factor other than 0.5 depending on heuristics.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^5: CPAN Module to determing overlap of 2 lists?