Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: tight loop regex optimization

by superawesome (Initiate)
on Nov 02, 2011 at 04:50 UTC ( #935290=note: print w/ replies, xml ) Need Help??


in reply to Re: tight loop regex optimization
in thread tight loop regex optimization

I had seen this warning, but was mis-reading it as indicating that the line "use strict" was actually *causing* it, which I just could not figure out. Once the proper lines were pointed out, the fix was exactly what you mentioned (parens and $1).

Unfortunately this didn't really help performance much in this particular case... but it's a good fix anyway. Thanks!


Comment on Re^2: tight loop regex optimization

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2015-07-06 13:51 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 (75 votes), past polls