in reply to Re: Finding all substrings
in thread Finding all substrings
Says samtregar:
I found this to be 300% faster over 100,000 iterations. Not bad, but I bet we could do better!Supposing that the original version took 10 seconds to run, then yours, 300% faster, completes and delivers the answer 20 seconds before you even enter the command that runs it. That is an impressive achievement indeed. I admire your optimization skills.
Perhaps you meant that yours was three times as fast? If so, it was 66.67% faster, not 300%.
Hope this helps.
--
Mark Dominus
Perl Paraphernalia
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Finding all substrings
by samtregar (Abbot) on Apr 24, 2002 at 19:39 UTC | |
by Russ (Deacon) on Apr 24, 2002 at 19:49 UTC | |
by MeowChow (Vicar) on Apr 25, 2002 at 00:20 UTC | |
Re: Re: Finding all substrings
by BUU (Prior) on Apr 25, 2002 at 02:02 UTC |
In Section
Seekers of Perl Wisdom