At 07:33 AM 3/3/05 -0800, $Bill Luebkert wrote:
>I tried 3 different lengths of $text and substr is the clear winner.
>Longest string:
>            Rate     RE substr
>RE      916926/s     --   -70%
>substr 3076923/s   236%     --


That's very interesting, I ran ur exact code (except for $x++) and I got a
much smaller difference.

            Rate     RE substr
RE     1336898/s     --    -3%
substr 1381215/s     3%     --

27 seconds

            Rate     RE substr
RE     1319261/s     --    -9%
substr 1445087/s    10%     --

26 seconds

I have build 811 on Celeron 1.4GHz.  Do u have some optimization that
drastically speeds up substr?






--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede males"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to