good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^5: CPAN Module to determing overlap of 2 lists?by LanX (Saint) |
on Aug 13, 2020 at 14:15 UTC ( [id://11120677]=note: print w/replies, xml ) | Need Help?? |
> 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
In Section
Seekers of Perl Wisdom
|
|