Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: finding number of contiguous letters

by Limbic~Region (Chancellor)
on May 24, 2007 at 12:39 UTC ( #617213=note: print w/replies, xml ) Need Help??


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 (Sage) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617213]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2020-10-28 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (259 votes). Check out past polls.

    Notices?