[DGD] another aspect of persistence
chris .
psych_mayo at hotmail.com
Tue Sep 30 16:02:21 CEST 2008
Using the master object to store constant variables in a cloned object might not be a bad idea.
It seems to serve to save a little memory, and wouldnt it use more ticks since a clone would now have to call another object, its master. (versus using more memory, and the variable being local to the clone).
your doing object->daemon->master, I do 'return x'.
Im naive about the impact resource usage has on a system, but my understanding is to preserve ticks before memory because players need them, and only the system worries about its max memory.
_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
More information about the DGD
mailing list