> I'd guess that XML serialisation with cElementTree is both cpu and
> memory competitive with cpickle, if not superior. Although I'm too lazy
> to fire up the timeit module right now :-)
That maybe true, but I bet Marshal is the fastest. ...right?
> Also, how quickly the relevant parsers work de
[Mike]
> I know XML is more (processor) costly than cPickle, but how bad is it?
Are you sure you know that?
I'd guess that XML serialisation with cElementTree is both cpu and
memory competitive with cpickle, if not superior. Although I'm too lazy
to fire up the timeit module right now :-)
Also
I know XML is more (processor) costly than cPickle, but how bad is it?
The idea is I want to store data that can be described as XML into my
database as cPickle objects. Except my web framework has no support for
BLOB datatype yet, and I might have to go with XML.
Ideas are appreciated,
Thanks,
M