Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Benchmarking chop/substr/split

by larryl (Scribe)
on Mar 17, 2001 at 02:58 UTC ( #65057=note: print w/ replies, xml ) Need Help??


in reply to Benchmarking chop/substr/split

Update: A new data point based on tye's suggestion

  • substr_1: 714.54/s
    while ($_ ne '') { $letters{lc substr($_,-1,1,'')}++; }


Comment on Re: Benchmarking chop/substr/split
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-12-20 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls