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:
Eirik Berg Hanssen
Date:
July 21, 2010 01:46
Subject:
Re: [perl #76438] peephole optimiser could prune more dead code
Message ID:
AANLkTimlsumpD1QdHnQXZxYjZx7Bs_NBD7sxUcZsx5HH@mail.gmail.com
On Tue, Jul 20, 2010 at 10:12 PM, Jan Dubois <jand@activestate.com> wrote:

> And could you also explain why it makes sense that $a.$a has to invoke
> magic twice, while $a x 2 will only call it once?
>

  For the same reason that f().f() calls &f twice, while f() x 2 will only
call it once?


Eirik

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