[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: RE: Pluto updated
- From: "Grisha" <grisha@...>
- Date: Tue, 15 Jun 2004 23:19:41 +0400
Believe me, the above example will serialize any number of objects with any
references between them. If objects gets to the list first, and gets
serialized second there's no posssible problem with cycles.
----- Original Message -----
From: "benjamin sunshine-hill" <email@example.com>
To: "Lua list" <firstname.lastname@example.org>
Sent: Tuesday, June 15, 2004 11:12 PM
Subject: Re: RE: Pluto updated
> Ah, I see what you mean. I dislike how brittle and convoluted the file
format becomes, though. Also, I think there might be additional problems
when two objects refer to a same third object... a decreasing
reference-count might help, but the complexity gets rather onerous.
> ----- Original Message -----
> From: Grisha <email@example.com>
> Date: Tuesday, June 15, 2004 11:47 am
> Subject: Re: RE: Pluto updated
> > Why is there a problem with cyclic references? There's no problem as
> > you first add object to already serialized list, and only then actually
> > serialize it.