In perl.git, the branch sprout/avplaceholder has been created

<http://perl5.git.perl.org/perl.git/commitdiff/8b0907182d4daa0035e831261ca18fce4f3920ae?hp=0000000000000000000000000000000000000000>

        at  8b0907182d4daa0035e831261ca18fce4f3920ae (commit)

- Log -----------------------------------------------------------------
commit 8b0907182d4daa0035e831261ca18fce4f3920ae
Author: Father Chrysostomos <[email protected]>
Date:   Tue Jul 2 13:07:45 2013 -0700

    make AVs use &PL_sv_placeholder for empty slots
    
    This is an experiment.  It is unfinished.  It turns out this is more
    complicated and involves more lines of changes than using NULL for
    nonexistent array elements, as there are already null checks in vari-
    ous places.
    
    This is the sort of thing that currently fails:
    
        my @a; $a[2] = 1; for (@a) { $_ = 2 }
    
    because foreach needs to take &PL_sv_placeholder into account.
    
    I’m not sure it’s worth finishing this patch.
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to