|
|
| P is for Practical | |
| PerlMonks |
Re: Challenge: Fast Common Substringsby BrowserUk (Patriarch) |
| on Apr 05, 2007 at 15:23 UTC ( [id://608499]=note: print w/replies, xml ) | Need Help?? |
|
Okay here is a benchmark as requested. I doubt it will satisfy everyone. Some comments on the benchmark and results obtained.
Results (500 random strings of 'A'..'D', tested each against the next for common substrings 3-7 characters
The benchmark code. CLI parameters are: -N=nn numbers of strings to generate; -LENGTH=mm: length of common substrings to look for; Interesting challenge Limbic~Region, thanks. <Reveal this spoiler or all in this thread>
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||