[rucksack-devel] Export

Levente Mészáros levente.meszaros at gmail.com
Mon Jan 15 11:46:30 UTC 2007


Hi,

First of all, rucksack is great in many ways, thanks for the efforts!

While I was thinking of the export machinery I came to the following
idea. The algorithm traverses the whole database (optionally only
partial) and dumps it to several lisp source files. Loading and
running those lisp files will import the database into another
rucksack.

Splitting the database into finite parts which can be compiled and
evaluated is simple I think and this solves the huge lambda problem.
Storing the object -> identity during export and idenity -> object
mapping during import could be done by using a fresh and lazy
persistent hashtable which could be garbage collected after
export/import.

I don't know if there's any support for persistent hashtables which
are not saved/loaded at once but lazily (since they do not fit into
memory)? Am I right that btrees are sufficient to make a map like a
hashtable? Is it allowed to put persistent objects into a btree as
keys?

Cheers,
levy

-- 
There's no perfectoin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serialize.lisp
Type: text/x-lisp-source
Size: 1787 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/rucksack-devel/attachments/20070115/7bc2247d/attachment.bin>


More information about the rucksack-devel mailing list