I'm using metakit partly as structured storage for my app. Setting up the
database is fine, however if I modify one of the entries, then I get a copy
of the data stored in the file (only once, I can modify it many times). This
is fine for small bits of data, but if I am storing and modifying files (a
few kb) then I am potentially wasting a lot of space. Is there any way to
turn this feature off?
You're seeing the consequences of "stable storage" - the mechanism which ensures commit/rollback robustness.
Comes with Metakit, which is a database manager that will continue to function with a consistent dataset regardless of aborts and pulling plugs at the most awkward times.
You can compress, by saving to a new file and switching over to it (see SaveTo).
The space is not wasted or lost. It gets re-used later.
-jcw
_______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit