Jeff, I recently ported the (freeware) Chilkat XML parser to Ruby, but it only runs on Windows. I'm curious to see how it performs in comparison. Do you have a simple example w/ data that I can use to convert to Chilkat XML? I'll be happy to write the code... Best Regards, Matt Fausey At 06:33 PM 11/3/2006, you 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. > >But, it's compiling now ... just thought I'd pass the information >along for ya. > >After modifying my script to use the libxml binding ... it's sitting >@ about 220M used instead of 800+M ... ( better ) ... and does only >take 10-20 seconds to start iterating over data ... > >So, thank you for the pointer ... > >jd > > > > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.409 / Virus Database: 268.13.25/515 - Release Date: 11/3/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.25/515 - Release Date: 11/3/2006