|
|
| P is for Practical | |
| PerlMonks |
Re: Re: Re: Code Smarterby ichimunki (Priest) |
| on Dec 31, 2000 at 19:17 UTC ( [id://49121]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Anyone know which of these is the faster expression (intuitively speaking, not looking for a benchmark)? Doesn't the RE have to do a lot of work to get to the end of each string passed, whereas substr simply clips? The only thing to remember is to either test .MP3 as well or do lc() on the substr().
In Section
Meditations
|
|
||||||||||||||||||||||||||||