On 4/17/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> i've also started playing around with something that will make you
> cringe, or perhaps chime in with suggestions and enthusiasm !
>
>         object_tree_as_storable
>         object_tree_from_storable
>
> right now they're being made traverse the object tree and clear/
> restore the db items + __xrdbopriv_meta

I actually plan to make a strip() helper that would break all links
with metadata, drop the db object, etc.  Basically, making an object
ready for sane serialization with Storable (or whatever).

> the point of all this is  to create cachable objects that are as-
> small-as-possible when they go into memory, yet have almost no
> overhead to revive.

Right, but I think you're over-complicating it :)  I think a simple
strip() and serialize should work...unless I'm missing something?

-John

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to