Ævar Arnfjörð Bjarmason > Talk-NothingIsFaster510 > lib/Talk/NothingIsFaster510.pod

Download:
Talk-NothingIsFaster510-0.02.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NOTHING is faster in 5.10 ^

Ævar Arnfjörð Bjarmason <avar@cpan.org>

split optimizations ^

Handled by custom C code in pp_split. Will never reach the regex engine (see perlreapi.pod)

The benchmark ^

Benchmark results ^

The new split // is around 3x faster than it was in 5.8.8

The benchmark lies... ^

...unless you compiled with -DSTUPID_PATTERN_CHECKS

./Configure -A ccflags=-DSTUPID_PATTERN_CHECKS

split is rarely the bottleneck ^