Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: pattern match -vs- *ix grep

by Anonymous Monk
on Apr 07, 2005 at 16:39 UTC ( [id://445772]=note: print w/replies, xml ) Need Help??


in reply to Re: pattern match -vs- *ix grep
in thread pattern match -vs- *ix grep

That only matters if either the pattern changes (which it doesn't), or you have a really, really ancient perl.

For the past several years, Perl knows the pattern hasn't changed, and will not recompile the regex. (Use -Dr if you're not convinced).

Replies are listed 'Best First'.
Re^3: pattern match -vs- *ix grep
by dave_the_m (Monsignor) on Apr 07, 2005 at 18:40 UTC
    Ah yes, silly me. It bypasses the calls to the gvsv and regcomp ops though, so there's still a marginal saving.

    Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found