2008/1/15 Deb Lewis &lt;<a href="mailto:djlewis@acm.org">djlewis@acm.org</a>&gt;:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://antoniocangiano.com/2007/02/10/top-10-ruby-on-rails-performance-tips/" target="_blank">http://antoniocangiano.com/2007/02/10/top-10-ruby-on-rails-performance-tips/</a><br><br>Suggests checking out libxml, a ruby binding on the gnome xml parser,
<br>for perf improvement. &nbsp;From one of the comments:<br><br>- The author is dead right about the speed of REXML. REXML (in<br>DOM-style mode, at least) is unforgivably slow if you're parsing large<br>files (ditto for massive quantities of small ones). If you can
<br>guarantee their well-formedness, Libxml is unbelievably fast. If you<br>can't, consider Hpricot's XML mode. REXML's stream parser might be<br>decent, haven't really used it.<br><br>Might be worth exploring at some point to see if we can make the xml
<br>parser be configurable/pluggable to allow apps to optimize</blockquote><div><br></div></div><br>Yeah, it would be nice to be pluggable. Will have to research what this would take to do.<br clear="all"><br>-- <br>Jeff Barczewski, MasterView core team
<br>Inspired Horizons Ruby on Rails Training and Consultancy<br><a href="http://inspiredhorizons.com/">http://inspiredhorizons.com/</a>