Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 surveying the Monastery: (3)
As of 2015-07-07 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls