Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: How to access each char in a string most quickly?

by citromatik (Curate)
on Jul 03, 2009 at 08:14 UTC ( [id://776981]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
          {
             my @string='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    +aaaaaaaaaaaaaaaaaaaaaaaaaaaa';
         shift @string;{}
          }
    
  2. or download this
    my @string = ('a')x50;
    while (shift @string){
      ;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-23 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found