[elephant-devel] Re: blog example w/ hunchentoot

Pierre THIERRY nowhere.man at levallois.eu.org
Mon Apr 23 22:42:30 UTC 2007


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
-- 
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20070424/db1657db/attachment.sig>


More information about the elephant-devel mailing list