ElementTree vs. lxml (python XML libraries)

seth vidal skvidal at phy.duke.edu
Thu May 12 18:24:21 UTC 2005


> >From what I heard from people I respect in the python community lxml is
> a lot faster (by virtue of using libxml2 as its backend) but I have yet
> to see any real data on the issue.  Luckily the API is so similar it
> will just require a couple of tweaks like changing the name of the
> imported package to test.  I'll investigate further.
> 

Well cElementTree, which is really what yum is using, has tested out
faster for the yum use case than libxml2. Like about 3 times faster.

-sv





More information about the fedora-devel-list mailing list