in reply to Size of inside out object
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Size of inside out object
by cheekuperl (Monk) on Jun 05, 2012 at 16:30 UTC | |
by BrowserUk (Patriarch) on Jun 05, 2012 at 16:40 UTC | |
by cheekuperl (Monk) on Jun 06, 2012 at 03:08 UTC |
In Section
Seekers of Perl Wisdom