[DGD] Keeping track of clones

Erwin Harte harte at is-here.com
Thu Aug 25 17:24:01 CEST 2005


On 8/25/05 9:57 AM Petter Nyström wrote:
[...]
> I am a little hazy on when exactly an object is swapped in. But from 
> what you say I take it that doing and ob = find_object("/foo/bar#123") 
> wouldn't swap that object in, if it was found? Only if I'd start calling 
> functions in that object? Or only if I'd call functions that'd actually 
> change its state? Or...?

Finding it won't swap it in.  Calling a function will trigger a swap-in 
because it would need the code-block(s) to access the functions.  As far 
as I recall there is no difference between functions that alter data or 
ones that don't, in that respect.

Hope that helps,

Erwin.
-- 
Erwin Harte <harte at is-here.com>



More information about the DGD mailing list