in reply to Re^4: Fast common substring matching
in thread Fast common substring matching
... for bioMan's problem a minimum match quanta of 128 is probably optimum and I'd guess that that is long enough to be unlikely to be a problem.
Seems to be. Scanning for repeating sequences of 2, 3 & 4 characters, none was longer then 50 chars, so a minimum quanta of 64 would also probably be possible.
inclined to ignore it unless someone can convince me that this is really useful
I understand that totally. I ended up resorting to Inline C to get speed because every attempt to improved the performance of my perl versions ended up missing things.
Shame though. Your technique is so very fast for a pure perl solution it would be a real coup if it could be generalised.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
|Replies are listed 'Best First'.|
Re^6: Fast common substring matching
by GrandFather (Saint) on Aug 25, 2005 at 02:41 UTC
by bioMan (Beadle) on Aug 25, 2005 at 16:42 UTC
by GrandFather (Saint) on Aug 25, 2005 at 21:46 UTC
by bioMan (Beadle) on Aug 26, 2005 at 15:52 UTC
In Section Cool Uses for Perl