|Keep It Simple, Stupid|
Re^4: Optimization, side-effects and wrong codeby leriksen (Curate)
|on Sep 30, 2004 at 02:28 UTC||Need Help??|
Can you tell us the method you used to get the memory figures ? And your platform/perl details too ?
to ease the snippets death.
I just used top to look at the Size column, and my results are
Note the top in RH9 truncates snippet B, 1,000,000 items to 101M, and I haven't figured out how to change the units for this field - perhaps I need to use something other than top...
So in conclusion, I agree, it does appear there is some optimisation going on - is this an example of lazy evaluation ?