in reply to Re^4: finding number of contiguous letters
in thread finding number of contiguous letters

GrandFather,
Neat and thanks. I am interested myself but am finding myself with no free time. The next question I would want to ask is if the results change as the size of string changes. Oh well, another time perhaps. Thanks again.

Cheers - L~R

  • Comment on Re^5: finding number of contiguous letters

Replies are listed 'Best First'.
Re^6: finding number of contiguous letters
by GrandFather (Saint) on May 24, 2007 at 21:47 UTC
    Run against 24 character string: Rate regex unpack substr regex 40260/s -- -17% -44% unpack 48660/s 21% -- -33% substr 72138/s 79% 48% -- Run against 480000 character string: Rate regex unpack substr regex 0.983/s -- -10% -60% unpack 1.10/s 11% -- -55% substr 2.44/s 148% 122% --

    ;)


    DWIM is Perl's answer to Gödel