Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Performance penalty of using qr//

by BrowserUk (Pope)
on Dec 21, 2017 at 08:59 UTC ( #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
Node Status?
node history
Node Type: note [id://1205966]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-04-10 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?