|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Size of inside out objectby temporal (Pilgrim) |
| on Jun 05, 2012 at 16:01 UTC ( #974489=note: print w/ replies, xml ) | Need Help?? |
|
IIRC, you'll actually come out slightly ahead (use less memory) if you end up instantiating more objects than you have attributes. In a classic object model each object will contain a hash of attributes. For inside-out objects you have a hash per attribute regardless of the number of objects. Strange things are afoot at the Circle-K.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||