Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Efficient walk/iterate along a string

by jwkrahn (Monsignor)
on Nov 23, 2010 at 01:00 UTC ( #873087=note: print w/ replies, xml ) Need Help??


in reply to Efficient walk/iterate along a string

I don't know if this is faster but you could try substr with references, for example:

for my $i ( 0 .. $max ) { my $c = \substr( $protein, $i, 1 ); # Process $$c etc etc }


Comment on Re: Efficient walk/iterate along a string
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (16)
As of 2014-09-02 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (25 votes), past polls