Subject: Re: [xsl] Is xsl:for-each "syntactic sugar"? From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 07 May 2010 10:00:07 +0100 |
1. Everything that can be done using xsl:for-each can be done using a recursive function. (True or False)
This is not true since in reality
recursions is much more limited than the width of your CPU limiting the number of iterations.
> Also, xsl:for-each can (in theory) beAlso, xsl:for-each is much easier to understand than a potentially complex recursive function (you SEE that it is a loop, while you have NOTICE that it is recursive).
implemented using parallel execution (multiple cores) while recursion necessarily must be a single core as it is up to the coder where / when in his particular algorithm the recursive call takes place.
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Is xsl:for-each "syntacti, Markus Karg | Thread | Re: [xsl] Is xsl:for-each "syntacti, Mukul Gandhi |
RE: [xsl] Is xsl:for-each "syntacti, Markus Karg | Date | Re: [xsl] Is xsl:for-each "syntacti, Mukul Gandhi |
Month |