YAPC::Europe 2013 in Kiev

YAPC::Europe 2013 “Future Perl”

Twitter #ye2013    Facebook    RSS       Log in

Twitter #ye2013    Facebook    RSS       Log in

Recent compiler optimizations

By Reini Urban (‎rurban‎) from Dresden.pm
Date: Wednesday, 14 August 2013 15:20
Duration: 50 minutes
Target audience: Advanced
Language: English

You can find more information on the speaker's site:


I prototyped possible perl optimizations in the experimental B::CC backend and came to some interesting results, which led to design decisions and plans for Perl.

Of course optimizations are depending on the benchmark, and B::CC is not stable enough to run all shootout benchmarks but the overall results showed that an optional type systems and parts thereof, such as no autovivification (sized arrays) or no magic were by far more important than other vm optimizations, such as method calls, inlining or compiler optimizations.
Loop unrolling proved to be worthwhile also, but I'm showing you a way how you can get ~2x faster array access by yourself.

Attended by: