Think about Loose Coupling | |
PerlMonks |
Re^2: simple string comparison for efficiencyby CaptainF (Initiate) |
on May 29, 2009 at 00:16 UTC ( [id://766780]=note: print w/replies, xml ) | Need Help?? |
Grandfather, your solution using bitwise operators would not have occurred to me, but was exactly what I needed. It solved the problem several orders of magnitude faster than my solution. Is there a simple way to extract the number of string positions where one or both strings had an 'N' from your code?
In Section
Seekers of Perl Wisdom
|
|