Y> M>

lxml.etree is getting there:

The lxml.etree implementation of ElementTree, on top of libxml2, is getting there now. It features automatic memory management and quite a bit of ElementTree compatibility. Not all of the ElementTree API has been implemented yet, but enough for many use cases.

[More]

lxml parser performance:

In a discussion with Fredrik Lundh about his (c)ElementTree parser performance benchmarks on the lxml.etree implementation.

[More]

lxml findall and xpath performance:

Update: lxml got quite a bit faster since this entry, see here

[More]

lxml progress:

Since some people seem to be actually reading this and some progress has been made, I thought I'd give a report of what's been happening with lxml.

[More]

lxml performance progress:

Such progress a few days can bring. Just last week the lxml.etree performance figures on ElementTree operations like findall lost out badly to pure Python code. So badly, it was pretty embarassing:

findall('//v') on ot.xml

ElementTree: 0.13 s
cElementTree: 0.11 s
lxml.etree: 1.9 s
[More]

a little bit more lxml performance tweaking:

Today I merged the backpointer branch with the lxml trunk, and have been cleaning up a bit more. In particular I've cleaned up some useless extra subclasses that were only necessary to introduce weak reference support to the various classes. I've now removed these subclasses, which cleans things up a bit more.

[More]

[Comments] (1) Relax NG support, C14N:

Some progress over the last few days:

[More]

[Comments] (3) benchmarks and lxml:

The recent cElementTree release is causing some waves in the Python/XML community. It started when Uche Ugbuji posted The Python Community has too many deceptive XML benchmarks to his blog.

[More]

lxml relax NG tweaks:

The Relax NG support seemed to be working for lxml, until I tried it with a complicated case: a modularized XHTML Relax NG schema.

[More]

[Comments] (2) About the disdain for XML among Python programmers:

Last december Phillip Eby (PJE) posted a a nice rant. It was widely quoted in other Python-oriented weblogs; people liked especially the rant against XML. It was indeed a very nice rant. It still rankled a bit with me, though, even though I've seen similar things before. This disdain for XML technologies is very common among Python programmers. I posted my own rant in response in a comment on another weblog, hardly a place where it will be seen. So, I'll post a new, edited version of my rant in my shiny new weblog, where it has at least a bit more chance to be read. What's the good of ranting if nobody hears you, after all?

[More]


[Main]

Unless otherwise noted, all content licensed by Martijn Faassen
under a Creative Commons License.