in reply to Re: Why this code run faster?
in thread Why this code run faster?
sub f { 'network' =~ /^network$/g } print f()?1:0, "\n" for 1..6;
1 0 1 0 1 0
The failing match should be faster than the succeeding match.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why this code run faster?
by gamache (Friar) on Nov 08, 2007 at 17:31 UTC | |
|
Re^3: Why this code run faster?
by Gangabass (Vicar) on Nov 09, 2007 at 01:33 UTC |