in reply to Finding repeat sequences.
Below are the results from my first pass -- verifying basic functionality -- of (my adaptions of) the 8 solutions from tye, choroba, DamianConway, tobyink, AnomalousMonk, hdb, Eily, sundialsvc4 in this thread:
C:\test>1039630-b.pl14 -SHOW=0 Looking for 'fredfre' in 'fredfrefredfr' tye found 'fredfrefred'; excluded from further consideration svc4 found 'redfrefredf'; excluded from further consideration Looking for 'fredfre' in 'fredfrefredf' Looking for 'fredfre' in 'fredfrefred' hdb found 'none found'; excluded from further consideration Looking for 'fredfre' in 'fredfrefre' Looking for 'fredfre' in 'fredfrefr' Looking for 'fredfre' in 'fredfref' Looking for 'fredfre' in 'fredfre' Looking for 'fredfre' in 'fredfrefredfrefredfr' choroba found 'fredfrefredfre'; excluded from further consideration Looking for 'fredfre' in 'fredfrefredfrefredf' Looking for 'fredfre' in 'fredfrefredfrefred' Looking for 'fredfre' in 'fredfrefredfrefre' Looking for 'fredfre' in 'fredfrefredfrefr' Looking for 'fredfre' in 'fredfrefredfref' Looking for 'fredfre' in 'fredfrefredfre' Eily found 'fredfrefred'; excluded from further consideration Partisipants in performance tests: anomalous tobyink damianc
If authors want to correct (my adaptions of) their solutions that's great, (but please don't moan at me If I screwed the pouch adapting them to subroutines :).
Here's the test harness:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding repeat sequences. (Results:Part 2. The winner)
by BrowserUk (Patriarch) on Jun 19, 2013 at 18:06 UTC | |
by hdb (Monsignor) on Jun 19, 2013 at 19:07 UTC | |
by BrowserUk (Patriarch) on Jun 19, 2013 at 19:46 UTC | |
by hdb (Monsignor) on Jun 19, 2013 at 20:03 UTC | |
|
Re^2: Finding repeat sequences. (definitions; part $n)
by tye (Sage) on Jun 20, 2013 at 00:40 UTC | |
by BrowserUk (Patriarch) on Jun 20, 2013 at 01:11 UTC |