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

Re^2: Efficient walk/iterate along a string

by DrHyde (Prior)
on Nov 23, 2010 at 10:22 UTC ( #873149=note: print w/ replies, xml ) Need Help??


in reply to Re: Efficient walk/iterate along a string
in thread Efficient walk/iterate along a string

Please do this - I've occasionally had to solve similar problems, and thought "this is where perl needs pointers", but never had the tuits to actually implement it.


Comment on Re^2: Efficient walk/iterate along a string
Re^3: Efficient walk/iterate along a string
by Anonymous Monk on Nov 23, 2010 at 10:49 UTC
Re^3: Efficient walk/iterate along a string
by GrandFather (Sage) on Nov 23, 2010 at 19:35 UTC

    I suspect that if there was a real need for this and an XS solution does actually provide substantial speed gains over substr or the reverse and chop trick then it'd have already been done.

    Most times a smarter algorithm gives much more bang for the buck than tinkering with an implementation to make the old algorithm a little faster.

    True laziness is hard work

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2015-07-05 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls