Sept. 20, 2011
10:01 p.m.
On Tue, 20 Sep 2011, Mariano Martinez Peck wrote:
Hi guys. Martin and I were discussing whether we should do something in particular in Fuel with Weak references, such as WeakArray. Should we serialize it the same way we serialize all objects, or should we do something special? what could be the impact of materializing such weak references in a new image for example?
You should ignore (serialize nil instead of them) the elements of a weak object (#weakSubclass:...) which aren't referenced strongly from other serialized objects. Levente
Thanks your sharing your thoughts.
-- Mariano http://marianopeck.wordpress.com