hacking perl5 core
DESCRIPTION
A short success storyTRANSCRIPT
Aroad to hacking on
From a challenge
[email protected] Kiev, YAPC::EU 2013
Devel::PPAP
[email protected] Kiev, YAPC::EU 2013
●May fail to compile●5.16.x only●Incomplete●Way to start playing
[email protected] Kiev, YAPC::EU 2013
Since● shift; # w/o argument ● delete $hash{'const'};● $tied{foo}
[email protected] Kiev, YAPC::EU 2013
Failed optimisation●10+ commits●Better code●Corner case fixes●Tests●Bit faster afterall [email protected] Kiev, YAPC::EU 2013
my %r = map { $_ => $h{$_} } 'a', 'b', 'c';
[email protected] Kiev, YAPC::EU 2013
my %r = %h{'a', 'b', 'c'};
[email protected] Kiev, YAPC::EU 2013
●11 loc in toke.y●48 loc in pp.c●proof in 4 hours●comes in 5.20
[email protected] Kiev, YAPC::EU 2013
perl5 core is NOT that complex
[email protected] Kiev, YAPC::EU 2013