|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^3: Efficient walk/iterate along a stringby GrandFather (Cardinal) |
| on Nov 23, 2010 at 19:35 UTC ( #873277=note: print w/ replies, xml ) | Need Help?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||