in reply to Re: LCS efficiency problem
in thread LCS efficiency problem
Starting with 1 is part of the dynamic programming algorithm, no bug.
should fix the wordlists (so that eq is enough). Further filtering as suggested below is a good idea, do that!my @S = (undef, map { lc } split(/\w+/, $s));
In Section
Seekers of Perl Wisdom