I wrote:

> http://online.effbot.org/2004_12_01_archive.htm#element-generator
> http://online.effbot.org/2004_12_01_archive.htm#element-generator-2

here's an update for cElementTree 0.9.2, btw:

    http://online.effbot.org/2005_01_01_archive.htm#celementtree-xmlfile

on my machine, looping over all elements on a 3400k file takes about twice as 
long
as it takes to build a tree, but other hand, xmlfile needs no more than 200k 
memory
to process that file.

and "twice as long to build a tree" still means that it's faster than anything, 
except
libxml2...

</F> 



_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to