[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Wide Finder in XSLT --> deriving new requirements

Subject: Re: Wide Finder in XSLT --> deriving new requirements for efficiency in XSLT processors.
From: "M. David Peterson" <m.david@xxxxxxxxxxxxx>
Date: Sun, 11 Nov 2007 08:36:30 -0700
Re:  Wide Finder in XSLT --> deriving new requirements
On Sat, 10 Nov 2007 18:57:29 -0700, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:

So, let's propose a
         par:threads="N"
attribute for acceptance at exslt.org.

Worth making note of is Joe Cheng's solution[1] to Wide Finder in LINQ which higlights how one could use PLINQ to gain support for parallel processing by "(in the code above, simply change bfrom line in datab to bfrom line in data.AsParallel()b)". In short, the method of using a single attribute to specify the number of threads to use I believe makes a lot of sense, and is similar to the approach they plan to use in PLINQ if/when it ships.


NOTE: To those unaware, LINQ and XQuery are eerily similar in both syntax and functionality. Mapping the LINQ solution to XQuery would be a piece of cake, and then using the XQuery code as the basis for writing it correctly using templates would result in something similar to Dimitre's solution.

Or you could just use Dimitre's solution from the get go. ;-)

[1] http://jcheng.wordpress.com/2007/10/02/wide-finder-with-linq/

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155


Current Thread

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.