Re: [perl #60692] Recently introduced slowness

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

implicit explicit returns

2008-08-26 Thread luben
return. 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: 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

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 attach

Re: implicit explicit returns

2008-08-26 Thread luben karavelov
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

perl6 function call performance regression

2008-08-11 Thread luben karavelov
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
check. Luben