[DGD] A slight confusion about light-weight objects

Par Winzell zell at skotos.net
Mon Mar 29 18:17:17 CEST 2004


Robert Forshaw wrote:
> Well allow me to explain, if I do the following:
> 
> object a, b;
> 
> a = new_object(b = compile_object("/some/object"))
> 
> Then a != b. Therefore, b is the master object, a blueprint if you like, 
> it is not a lightweight object, it is going to hang around in memory 
> until I explicitely destruct it. a is the lightweight object and will go 
> away by itself. At least, that's what I'm concerned about. Unless b is 
> turned into a lightweight object as well, Which I'm assuming it isn't.

As far as I understand things, you are correct in all these things.

Zell
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list