in reply to Re: Re: Re: Re: Optimizing the bejeezus out of a sub
in thread Optimizing the bejeezus out of a sub
That's good to know, thanks.
Which version are you checking this on? And do you know if this is a recent change?
I ask because I had at least one situation where for (@array){...} definitly (seemed to?) caused a very large list to be built. At least, that's what my testing (basically watching the memory grow) showed under 5.6.1.
Update Seems I didn't keep the script, and I can't seem to reproduce the behaviour either.
I'm looking now to see if I can locate the program.
I assume that you're determining this by looking at the opcodes (as is your want:)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Optimizing the bejeezus out of a sub
by diotalevi (Canon) on Jun 24, 2003 at 13:57 UTC | |
by sgifford (Prior) on Jun 24, 2003 at 16:34 UTC |