[XML-SIG] fast dump/restore of an XML document?

Anthony Baxter anthony@interlink.com.au
Mon, 15 May 2000 19:13:37 +1000


Once you've built an XML document in memory, what's the fastest
way to get it to disk, and then re-read it in again afterwards?

cPickle is appallingly slow, and generates _huge_ output.

toxml() and then parsing it in again is also quite slow.
I would have thought ESIS would be fast to read in, but nope. EsisBuilder
seems to take (based on a number of runs) something like 40-50 times as
long as utils.FileReader()

so, what do other folks use?

Anthony