Scribit Ian Eslick dies 22/04/2007 hora 10:39:
> However, if  the objects are not already in-memory, the deserializer
> will call  make-instance on that instance using the OID and class
> stored in the DB.
> 
> This does not call initforms or use initargs but will trigger any
> initialize-instance method specializers you have defined (such as
> after methods).

Would it be possible to deserialize the objects without triggering all
this initialization? There's a semantic issue, here, because an image
using persistent objects should behave the same with or without being
shut down and restarted. This is precisely a goal of persistence, in the
way I understand it.

If initialization is triggered, you have a visible behaviour change when
the Lisp image is shut down and restarted.

Do you think it would be reasonable to get rid of that?

Curiously,
Pierre
-- 
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to