[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

unordered {} and fn:unordered()

Bas de Bakker bas at x-hive.com
Thu Jan 19 12:43:56 PST 2006


  unordered {} and fn:unordered()
Michael Kay wrote:
> There may be
> optimisations one can do in unordered mode, but as far as I'm concerned
> they're not very high up my list - apart from anything else, it's much more
> important to optimize badly written queries than to optimize well-written
> ones.

That is an interesting point. Because I have always thought it more 
important to optimize well written queries than badly written ones! 
Let's assume I have the time to implement one optimization and can 
choose between:

1) An optimization that basically turns the badly written query into the 
well written query.

2) An optimization that evaluates the well written query (only) in a 
faster way.

I have usually chosen option 2, because it allows the user (maybe with 
some effort) to get a faster performing query, which for some users is 
very important. If I choose option 1, there is simply no way at all for 
the user to get the performance he could get with option 2.

Regards,
Bas de Bakker
X-Hive Corporation


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.