Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 imbibing at the Monastery: (9)
As of 2014-10-22 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (115 votes), past polls