Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Is regcomp slower in 5.16.2 than in 5.8.8. How to speed things up ?

by vsespb (Chaplain)
on May 29, 2013 at 10:27 UTC ( [id://1035809]=note: print w/replies, xml ) Need Help??


in reply to Is regcomp slower in 5.16.2 than in 5.8.8. How to speed things up ?

Just a small observation. Seems under perl 5.8 regexps are printer in different way, that 5.10.
I am observing in some of tests for my code the following (only in 5.8.x):
# Compared m/$data->[1]{"re"}/ # got : (?-xism:(^|/)dir\/) # expect : (?-xism:(^|/)dir/)
  • Comment on Re: Is regcomp slower in 5.16.2 than in 5.8.8. How to speed things up ?
  • Download Code

Replies are listed 'Best First'.
Re^2: Is regcomp slower in 5.16.2 than in 5.8.8. How to speed things up ?
by PerlBhikkhuni (Initiate) on May 29, 2013 at 17:07 UTC

    Is there a way to find out when perl precompiles a regex and when it does not ?

Log In?
Username:
Password:

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

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

    No recent polls found