On Tue, Aug 26, 2008 at 10:53 AM, luben <[EMAIL PROTECTED]> wrote:
> I have noticed that Rakudo (and NQP) generates different PIR code for
> implicit and explicit returns.
>
> Example for implicit return:
>
> sub foo($n){
>   $n;
> }
>
> And example for explicit return:
>
> sub foo($n){
>   return $n;
> }
>
>
> Is this on purpose? The implicit return is 4-5 times faster than explicit
> return.
>
>
> Best regards
> luben
>

CC'ing perl6-compiler (where rakudo-particular items should go), and
wondering if you can attach the generated PIR for those of us who are
interested but unwilling at the moment to sync up and try this out.

Thanks. ^_^

-- 
Will "Coke" Coleda

Reply via email to