Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: better (faster) way of writing regexp

by JavaFan (Canon)
on Dec 02, 2009 at 18:19 UTC ( #810635=note: print w/ replies, xml ) Need Help??


in reply to Re^3: better (faster) way of writing regexp
in thread better (faster) way of writing regexp

# These don't result in any opcodes. $_ = "use strict; use warnings; our $date; $_" for values(%tests);
Indeed no opcodes, as it doesn't compile. You're interpolating a variable that hasn't been introduced to perl yet.


Comment on Re^4: better (faster) way of writing regexp
Download Code
Re^5: better (faster) way of writing regexp
by ikegami (Pope) on Dec 02, 2009 at 18:33 UTC
    It doesn't later either. In other words, they're not executed during Benchmarking.

    Ah, I misread earlier. I had posted the wrong copy of the code. Fixed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (15)
As of 2014-12-18 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (57 votes), past polls