Dirk Meyer a écrit : > Jason Tackaberry wrote: >> On Mon, 2007-02-26 at 15:30 +0100, Dirk Meyer wrote: >>> 1. Use minidom for the cxml stuff. It may be slower, but we don't want >>> an extra dependency jsut to be able to install a module. >> What about expat? It should be much faster than minidom, and it's in >> stock python. >> >> Would be interesting to compare expat with libxml2. > > Creatinf a simple tree without navigating functions just with > .children and .content takes 18 seconds and uses about 210 MB RAM with > your file. From my other mail:
Huh ! I'm more shocked about the RAM consumption than the time it takes. Now you need a 1GB+ HTPC to playback videos or what ? I really think that if you don't really need a tree, drop DOM and use a SAX parser, it'll save your memory. Ben ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
