lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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" <>
To: "Lua list" <>
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 <>
> 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
long as
> > you first add object to already serialized list, and only then actually
> > serialize it.