Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
P is for Practical
 
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 about the Monastery: (6)
As of 2014-04-18 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls