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!
|
|---|