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:
ilmari
Date:
September 27, 2017 09:19
Subject:
Re: [perl #132142] Bleadperl v5.27.3-34-gf6107ca24b breaksMLEHMANN/AnyEvent-HTTP-2.23.tar.gz
Message ID:
d8jmv5gbisk.fsf@dalvik.ping.uio.no
Zefram <zefram@fysh.org> writes:

> Dagfinn Ilmari Mannsaker wrote:
>
>>                                          Another "inconsistency" is
>>that in-place reverse preserves the deletedness of array elements.
>
> That's not detectable, is it?  Preserving deletedness seems like it
> would just avoid allocating some unnecessary SVs.

$ perl -E '@a=(1..3); delete $a[1]; @a = reverse @a; say 0+exists $a[1]'
0


-- 
- Twitter seems more influential [than blogs] in the 'gets reported in
  the mainstream press' sense at least.               - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
  to a mainstream media article.                      - Calle Dybedahl

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