|
From: will <wi...@bl...> - 2003-02-06 15:37:04
|
On Thu, 6 Feb 2003, Wari Wahab wrote: > > I'm just wondering, should the data dump really be in XML? I was > thinking of a pickle at least, then all load() needs to do is eat up the > pickle and import via the add() and store(). In fact if everything is > standard, no new storageAPI plugins needs to override load() at all, if > this is the case (either way, it's the same with XML) > > Maybe it's because I'm poor at XML, but anyone else agree on XML, or a > pickle? The disadvantages to using XML would be that the performance of loading/saving is probably an order of magnitude slower than pickling. In addition to that, we also take on the burden of architecting the XML format we want to save in and how it works. We definitely get more bang for our buck with pickling. The advantage to using XML is that other non-Python processes can manipulate the data. I can't really think of other advantages--though it should be noted that this is somewhat of a big one. How does blosxom and the other *osxom systems store data? Would we want to store our data in a compatible format further enabling folks to switch between *osxoms? /will -- whatever it is, you can find it at http://www.bluesock.org/~willg/ except Will--you can only see him in real life. |