On Thu, Dec 11, 2003 at 01:09:47PM +0100, Dirk Meyer wrote: > So internal we have a list of key-value pairs. In Pythons way of > naming things, this is a dict. Even you use use a database, I will > call it dict from now on to have a name for it.
Ok :) > So key is a string, value is something else (complete python > objects). So we need to store a dict (dict, database key, different > files, whatever) 'file' -> info when info itself is dict key -> value. I think that's fine. > Sounds good. But how to identify the namespace. A variable _id_ inside > an item? Inside every object that uses the storage? Hmm... when the plugin's register themselves, don't they "announce" their location? > We should take carse that this doesn't slow down freevo. When > generating a directory listing, all items what there metainfo. This > needs to be fast or everything will slow down. I agree... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
