in reply to Re^2: Could we save the memory occupied by "undef" in an array?
in thread Could we save the memory occupied by "undef" in an array?
I just tried it. Setting element 10000 of an array takes 0.35 MB more RAM than setting element 0 on perl 5.8.8 for OS X on Intel. So, there's a cost, although not a large one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Could we save the memory occupied by "undef" in an array?
by JavaFan (Canon) on Nov 23, 2008 at 21:30 UTC | |
by perrin (Chancellor) on Nov 24, 2008 at 01:13 UTC | |
by JavaFan (Canon) on Nov 24, 2008 at 11:17 UTC | |
by perrin (Chancellor) on Nov 24, 2008 at 14:49 UTC | |
by JavaFan (Canon) on Nov 24, 2008 at 16:44 UTC | |
by GrandFather (Saint) on Nov 24, 2008 at 01:57 UTC | |
by perrin (Chancellor) on Nov 24, 2008 at 04:14 UTC |