Re: [perl #60692] Recently introduced slowness

2008-11-20 Thread luben
750 - Segmentation fault r31800 - Segmentation fault r31900 - Segmentation fault r32951 - Runs slow - 6min 17sec I hope this helps luben

Re: implicit & explicit returns

2008-08-26 Thread luben karavelov
in the PIR you generate. (pmichaud, i hope i explained this right! ;-) -jeff Thanks, I see now what is the difference. Probably we could optimize out the explicit returns when we reach the "optimization" phase of the project. Best regards luben

Re: implicit & explicit returns

2008-08-26 Thread luben karavelov
Will Coleda wrote: On Tue, Aug 26, 2008 at 10:53 AM, luben <[EMAIL PROTECTED]> wrote: 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

Re: implicit & explicit returns

2008-08-26 Thread luben karavelov
Will Coleda wrote: 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){

implicit & explicit returns

2008-08-26 Thread luben
return. Best regards luben

perl6 function call performance regression

2008-08-11 Thread luben karavelov
just replaces "string_from_literal" with "const_string" on one line. I thought that const_string is faster because it doesn't need to allocate memory and produces less garbage. But it happens that it is a lot slower - it adds 11 seconds to the execution (with GC enabled). Best regards luben

Re: Bugs or Unimplemented Features?

2008-06-24 Thread luben karavelov
ere is it source of the bug - the addition op that produces Num, not Int or the type check. Luben