xsl-list
[Top] [All Lists]

Re: [xsl] Two versions of sum over node list by recursion--why and how does seco

2006-09-05 23:31:38

Is your hope founded on knowledge of someone working on such an implementation?

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)

David


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.



_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--