in reply to Re: Finding repeat sequences.
in thread Finding repeat sequences.
and the task is to find maximum $pattern to fit these constraints?
Um. I cannot see any errors in that. So yes.
If yes, some simple mathematics should already considerably minimize the set of possible combinations you need to investigate with regexes.
Hm. A realistic, but relatively small, example from my test harness:
b:64000 in s: 640028748 hdb :: 24.290438 s
L=64000, N = 10,000, K=28,740.
But those could equally well be: L=16,000, N = 40,001, K=12,740; or (thousands*) of other permutations.
I don't think it helps.
(*I'm being very, very conservative; my best guess is 100s, of millions.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding repeat sequences.
by LanX (Saint) on Jun 21, 2013 at 02:22 UTC | |
by BrowserUk (Patriarch) on Jun 21, 2013 at 02:48 UTC |