Ævar Arnfjörð Bjarmason
Handled by custom C code in pp_split. Will never reach the regex
engine (see perlreapi.pod)
The new split // is around 3x faster than it was in 5.8.8
Rate old pack new
old 197/s -- -58% -70%
pack 465/s 136% -- -28%
new 649/s 229% 40% -- ...unless you compiled with -DSTUPID_PATTERN_CHECKS
$ perl5.9.5 -Mre=Debug,DUMP -e '//; /(?:)/' Compiling REx "" Final program: 1: NOTHING (2) 2: END (0) minlen 0 Compiling REx "(?:)" Final program: 1: NOTHING (2) 2: END (0) minlen 0
Rate old new pack
old 81.5/s -- -29% -89%
new 114/s 40% -- -84%
pack 718/s 781% 528% --