Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Performance penalty of using qr//

by BrowserUk (Patriarch)
on Dec 21, 2017 at 08:59 UTC ( [id://1205966]=note: print w/replies, xml ) Need Help??


in reply to Performance penalty of using qr//

FTR: I encountered (and probably described/reported it here, but I don't remember for sure), a similar disappointment many years ago.

My recollection of it is that a variable built using qr// was always reinterpreted at the point of interpolation into another qr// or a larger regex.

My conclusion was that like the /o modifier on regex, it was either never implemented, or was removed by an early bug fix.

See also 971076, but I'm almost sure there should be an earlier thread.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-18 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found