in reply to Re: Performance problems on splitting long strings
in thread Performance problems on splitting long strings
You can simplify the calls to the anonymous subroutines.
cmpthese(-1, { regex1 => $regex1, regex2 => $regex2, unpack => $unpack, split => $split, substr1 => $substr1, substr2 => $substr2, FH => $filehandle, C_Style => $c_style_string, } );
IMHO, the superior performance of unpack() is perfectly predicable. This is what it's for.
Jim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Performance problems on splitting long strings
by Laurent_R (Canon) on Feb 01, 2014 at 11:19 UTC | |
by AnomalousMonk (Archbishop) on Feb 01, 2014 at 19:55 UTC | |
by Laurent_R (Canon) on Feb 01, 2014 at 23:24 UTC | |
by AnomalousMonk (Archbishop) on Feb 02, 2014 at 08:29 UTC | |
by Jim (Curate) on Feb 01, 2014 at 22:25 UTC |