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,'')}++; }

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 surveying the Monastery: (4)
As of 2016-07-25 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (229 votes). Check out past polls.