Nice! I stand corrected--I thought it would be simpler to omit the length passing and directly whack the strings. But I like yours better.
I did have a brief go at making one that did the length passing, but was bitten by my nemesis--fencepost errors! ;^)
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^2: Edit Distance Implementation in Perl
by roboticus
in thread Edit Distance Implementation in Perl
by kris1511
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |