On Tue, Sep 23, 2008 at 8:58 PM, Benjamin M. Schwartz <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tomeu Vizoso wrote: > | 2.- all metadata properties are just strings. > > I think this is a good decision (especially since by strings you mean > "byte arrays"). However, it's not quite true. Your design actually has > two classes of metadata properties: strings in "metadata" and files in > "extra_metadata". > > I like this design, but I think we can make it both simpler and more > powerful. Consider, for example, using a single djb-style database. > > metadata/ > author > difficulty > sessionkey > preview > > Each item is stored in a file whose name is the key, and whose contents > are the value.
Implemented your idea, and after writing the decoding routine in C, performance is quite good on the XO. Thanks a lot, this makes things quite a bit more robust and simple. Tomeu _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
