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 ?