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));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: LCS efficiency problem
by ikegami (Patriarch) on Jun 06, 2008 at 18:31 UTC |
In Section
Seekers of Perl Wisdom