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

xquery with large xml file

Per Bothner per at bothner.com
Mon Apr 17 08:48:29 PDT 2006


per xml huge datastructure
Per Bothner wrote:
> There is an obvious optimization that would probably help a lot:
> The concat routine could "write" the arguments to the passed-in
> output "consumer", without actually constructing the result.

I implemented this, but it doesn't seem to make much difference.
Probably the cost of calculating '$node/..' or '$j//*' (both of
which could be optimized quite a bit) are overwhelming.  Perhaps
memory contention is the main problem, so that paging and cache
faults are the real problem.

I'll do some more profiling and optimization later, but not know.
I'm planning on making some changes to the "compact node list"
data structure which may make a difference.  (Probably not much
in this particular application.)
-- 
	--Per Bothner
http://xquery.com/mailman/listinfo/talk   http://per.bothner.com/


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-2013 All Rights Reserved.