in reply to Inexplicably slow regex
Resultuse Benchmark qw( cmpthese ); $_ = ' df asdf sadf s f df asdf sadf s f df asdf sadf s f df asdf sadf s f df asdf sadf s f df asdf sadf s f df asdf sadf s f df asdf sadf s f '; our $KEY="df"; cmpthese(-3, { caret => '/^ \s* $KEY /mx', cr => '/\n \s* $KEY /mx', });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inexplicably slow regex
by Skeeve (Parson) on Sep 12, 2006 at 20:13 UTC | |
by Anonymous Monk on Sep 13, 2006 at 00:22 UTC | |
by Skeeve (Parson) on Sep 13, 2006 at 06:48 UTC | |
by Anonymous Monk on Sep 13, 2006 at 16:45 UTC | |
|
Re^2: Inexplicably slow regex
by Anonymous Monk on Sep 12, 2006 at 19:47 UTC |