Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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,'')}++; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://65057]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2016-12-11 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.