in reply to Re^5: Could we save the memory occupied by "undef" in an array?
in thread Could we save the memory occupied by "undef" in an array?

40,000 is about 1/10th of 0.35 MB (358,400)


Perl reduces RSI - it saves typing
  • Comment on Re^6: Could we save the memory occupied by "undef" in an array?

Replies are listed 'Best First'.
Re^7: Could we save the memory occupied by "undef" in an array?
by perrin (Chancellor) on Nov 24, 2008 at 04:14 UTC
    Oh, right, off by one decimal place. But ps also shows a difference of ~400KB, so it's consistent with Apple's tool (which probably uses the same APIs). This is RSS when the program is in memory, with a sleep(10) keeping it alive.