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

Re: [perl #132142] Bleadperl v5.27.3-34-gf6107ca24b breaksMLEHMANN/AnyEvent-HTTP-2.23.tar.gz

Thread Previous | Thread Next
From:
Zefram
Date:
September 22, 2017 02:48
Subject:
Re: [perl #132142] Bleadperl v5.27.3-34-gf6107ca24b breaksMLEHMANN/AnyEvent-HTTP-2.23.tar.gz
Message ID:
20170922024818.GZ6542@fysh.org
Dagfinn Ilmari Mannsaker wrote:
>With the old behaviour, getting the strengthening effect was trivial:

With the new behaviour, one can fairly trivially get the
weakness-preserving effect by wrapping the possibly-weak references in
an extra layer of reference.

>This makes me think that despite all the work that's gone into making
>the in-place sort optimisation invisible, the weak ref special case
>needs to be kept, i.e. the above commit reverted.

-1.  The optimisation should be a pure optimisation.  If the useful
behaviour of the old faulty optimisation were somehow not easily
reproduced, it should be made available by explicit means, not kept as
a funny special case of an operator that normally means something else.

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About