[elephant-devel] Querying Advice
Daniel Salama
lists at infoway.net
Tue Nov 14 20:34:01 UTC 2006
Robert,
Thanks for the clarification. I think I got it and agree.
BTW, after running your code using persistent objects and adding 5000
users, the total on-disk storage is now 5MB (as compared to 9MB by
using non-persistent objects), which concurs with what Ian mentioned
yesterday. Anyway, just wanted to point this out for the rest of us.
Thanks again,
Daniel
On Nov 14, 2006, at 3:20 PM, Robert L. Read wrote:
> You must either do something like add-to-root, or inherit from
> persistent-class. In that,
> you are correct. Once an object is persisted by either mechanism,
> it won't be "garbage collected"
> from the store; you can kill you lisp image and recreated it and
> then retrieve the object.
> Garbage collection within memory is a separate issue, and less
> important---you can always
> get back to the object.
>
> I feel that I just muddied things by using "add-to-root" here ---
> creating a persistent
> class is almost always better for a serious application.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20061114/0793e543/attachment.html>
More information about the elephant-devel
mailing list