develooper Front page | perl.perl5.porters | Postings from September 2016

Re: [perl #129177] No autovivification, for loop aliasing,

Thread Previous | Thread Next
Aristotle Pagaltzis
September 26, 2016 06:25
Re: [perl #129177] No autovivification, for loop aliasing,
Message ID:
* Father Chrysostomos via RT <> [2016-09-04 04:12]:
> it has been put off indefinitely because it would cause a significant
> slowdown.

It’s not just speed. The semantics are serious headache too. Referential
identity is impossible without actually allocating the key, and without
it, you get it into all sorts of fun games regarding the order in which
things happen.

The bug that *could* be fixed is autovivification in *rvalue* context.

But not lvalue context; that would be way too much of a braintwister.

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About