From: Ross Bamford Date: 2006-11-04T19:22:50+09:00 Subject: Re: REXML ... performance & memory usage ... On Sat, 2006-11-04 at 09:33 +0900, Jeff Wood wrote: > Tom Werner wrote: > > Jeff Wood wrote: > >> Does anybody have any tips on getting REXML to run faster and/or > >> smaller ??? > >> > > > > 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. > > > > Tom > > > > > I had to make two fixes to the source to get things to compile > > ruby_xml_parser.c & ruby_xml_document.c both needed to have #include > "stdargs.h" included ... the compiler wasn't happy about trying to deal > with the va_list data type without it. > It's a good job I try to keep up with happenings on ruby-talk :) Thanks for posting about this - it's fixed in CVS now. Also, given your input data, you might be interested to know that I'm currently working on a developmental branch for libxml-ruby 0.4, which includes a new, faster SAX callback interface (among many other changes). The branch name is DEV_0_4, and it's getting to be quite stable now. Also, we have a mailing list: http://rubyforge.org/mail/?group_id=494 Thanks again, -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk