Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: A better implementation of LCSS? (Memoize)by toolic (Bishop) |
on Nov 18, 2015 at 21:02 UTC ( [id://1148057]=note: print w/replies, xml ) | Need Help?? |
UPDATE: ahh, nevermind. BrowserUk just debunked this...
Somewhat related... For what it's worth, I used Memoize on the String::LCSS::lcss sub, and the increase in performance is huge. In fact, String::LCSS is faster than String::LCSS_XS. The String::LCSS_XS POD shows these Benchmark results (which I was able to reproduce):
Here are the results with Memoize:
Here is the code to run it:
Keep in mind that String::LCSS has critical bugs.
In Section
Seekers of Perl Wisdom
|
|