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.

Replies are listed 'Best First'.
Re^5: better (faster) way of writing regexp
by ikegami (Patriarch) 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.