by pecg · 8y ago · 0 comments
They could always add an option to compile it, much like xaml, it may even be as simple as a xslt transform.
Speeding up start times is a laudable goal, but this comment makes it sound as if the performance implications are more significant than that.
A Dom based parser could be, but also depends of number of nodes and nesting.
Love sax by the way. I just switched over one of our sites to use a sax based parser because the default rails .to_hash was choking on 100MB+ XML files.
I don't see libxml2 being slower than any other markup language parser. In comparison to how slow some JSON (an easier to parse language) parsers are, libXML2 is actually quite fast.