|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Speed of Perl Regex Engineby Jenda (Monsignor) |
| on Nov 29, 2012 at 16:43 UTC ( #1006298=note: print w/ replies, xml ) | Need Help?? |
|
You said you build the regex and pass it to the program as a parameter ... how do you use it then?
The first version compiles the regexp each time you use it, the other two just once. For a longer regexp this may make a big difference. Jenda
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||