And this approach has (what may be) the advantage that the strings being compared need not be equal in length as in the bitwise-xor approach.
That is not a limitation of bitwise-xor in perl
In reply to Re^3: Fastest way to find the mismatch character
by Anonymous Monk
in thread Fastest way to find the mismatch character
by basheer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |