[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Two versions of sum over node list by recursion--w
For Dimitre, it can also be written as a divide and conquer sum(empty-list)=0 sum(item)=item sum(list)=sum(even-position-items)+ sum(odd-position-items) What is becoming important with this is that not in the so distant future (I hope) an XSLT processor will calculate: sum(even-position-items) and sum(odd-position-items) in two different threads on two processors so that the total calculation will be approx. twice as fast. Parallelization is something very natural in functional programming, while it can be very difficult to achieve with imperative programming. -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk On 9/5/06, David Carlisle <davidc@xxxxxxxxx> wrote:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|