develooper Front page | perl.perl5.porters | Postings from July 2010

Re: [perl #76438] peephole optimiser could prune more dead code

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
July 15, 2010 04:34
Subject:
Re: [perl #76438] peephole optimiser could prune more dead code
Message ID:
20100715113452.GN3025@iabyn.com
On Thu, Jul 15, 2010 at 01:28:58PM +0200, Reini Urban wrote:
> 2010/7/15 demerphq <demerphq@gmail.com>:
> > On 15 July 2010 01:12, Dave Mitchell <davem@iabyn.com> wrote:
> >> On Wed, Jul 14, 2010 at 09:39:35AM +0200, demerphq wrote:
> >>> Whomever decided that
> >>>
> >>>   $a . $a
> >>>
> >>> is specified when $a is tied and returns a different value each fetch
> >>> had forgotten this fact.
> >>
> >> You'll have to argue that with Hugo then!
> 
> I'm also with Yves here.
> Hugo destroyed language semantics with 5.6.2, if I read the pp_hot.c
> patch right.

No I think you're reading it the wrong way. Hugo's patch ensures that $a
is evaluated *twice* in $a.$a.


-- 
Standards (n). Battle insignia or tribal totems.

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