in reply to Re^2: Size of inside out object
in thread Size of inside out object
For your given example, both will require two hashes, each with 2 of the 8 slots used. As near as make no difference, the memory usage will de identical for both.
However, lets say you have 10 instances of a class that has 2 attributes:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Size of inside out object
by cheekuperl (Monk) on Jun 06, 2012 at 03:08 UTC |