Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.1: XPath

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM 1.1: XPath
  • Date: Fri, 07 Jan 2005 07:03:22 -0500

Wolfgang Hoschek wrote:


The other aspect is that repetitive query parsing and optimization often takes considerable time which would make XPath navigation less appealing over hand crafted tree navigation code. For example, consider complex queries over many tiny documents. Here, parsing and optimization can be a large fraction of overall execution time. Minimizing XPath/XQuery overhead leads to fewer arguments in favour of manual navigation.

Remember: the goals are correctness, simplicity, and performance, *in that order*. Simplicity trumps performance, and passing in a string is much simpler than preparing statements. If that turns out to be a bottleneck, well then, there's NUX and Saxon. :-)

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page