[Uw-ruby] DOM or Stream parsing?

Garrick West garrick at acm.org
Sat Nov 17 23:44:43 PST 2007


Hi Ryan,
I figured I'd send this to the list as others might be interested in your
response:

Wow.  That iTunes library is a bit of a monster to pull in with DOM, but it
seems to work (at least on my system;).  The DTD is almost as simple as you
can get, so it's not it would be too hard to do Stream parsing, but I
question the value of doing so If you're not concerned about the load time.
 It takes 54 seconds on my 2nd gen MacBook Pro usingREXML, and I've seen
some form posts googling around suggesting libxml is faster,
but can be a pain to set up (possibly dated?).

Thoughts?
--Garrick West
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.zenspider.com/pipermail/uw-ruby/attachments/20071117/639146b6/attachment.html


More information about the Uw-ruby mailing list