Jaro similarity: Difference between revisions
m
→{{header|Raku}}: Fix minor bug that didn't affect the tested words but would manifest if second word shorter than first
(→{{header|Wren}}: Fixed another bug.) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: Fix minor bug that didn't affect the tested words but would manifest if second word shorter than first) |
||
Line 2,386:
my $start = 0 max $i - $match_distance;
my $end = $i + $match_distance min ($t_len - 1);
for $start .. $end -> $j {
|