Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2016-02-11 11:18 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (368 votes), past polls