On Dec 28, 2003, at 1:42 AM, Leopold Toetsch wrote:
Joe Wilson <[EMAIL PROTECTED]> wrote:
Perl's arrays do indeed accept mixed data types (see example below).
Perl's Arrays take SV's. Please use a PerlArray instead of SArray.
Parrot (still built unoptimized) is significantly faster then perl5 on
this
test.
If I take the f4.pasm that Joe Wilson originally posted, and just
change SArray to PerlArray, then I grow in memory usage very quickly.
If I comment out the "set P5, 5", then it doesn't happen.
Based on your 'warnocked "Q: Array vs SArray" from Dec 11th' (though
now that we are talking about it, I suppose it's not warnocked any
more...), I'd expect this "set P5, 5" to fill the PerlArray with 5
nulls, but I don't see right off why I'd get a memory explosion. Do you
have any idea what might be going on?
Thanks,
JEff
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Joe Wilson
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Luke Palmer
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Joe Wilson
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Dan Sugalski
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Dan Sugalski
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Nicholas Clark
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Joe Wilson
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Dan Sugalski
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Leopold Toetsch
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Leopold Toetsch
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Jeff Clites
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Leopold Toetsch
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Leopold Toetsch
- Re: Slow vararg subroutines in Parrot, jit bug found as we... Leopold Toetsch