On 03/11/06, Tom Werner <pubsub / rubyisawesome.com> wrote:
> If having a pure ruby parser is not a requirement and you're on *nix,
> then you can get great performance out of:
>
> http://libxml.rubyforge.org/
>
> It uses libxml2 for the parsing, and as such is quite speedy.

I can vouch for that. I changed a bit of slow code from using REXML to
libxml, with fairly minor alterations. The work didn't take long, and
it made a huge difference:

REXML:  0.539 seconds
libxml: 0.012 seconds

Paul.