> It looks to me more an XSLT stress test, isn'it ? Each xslt call just reduces the lowest level <a>s. The recursion is done by the recursive call to the pipeline in the <when> branch of the <choose>. In my implementation, every step is a separate unix process. Each level of recursion involves the pipeline itself, and the choose (which runs the chosen branch in the same process). So there are two processes per level of recursion. Ackermann's has an amazing depth of recursion for even small arguments. A fixed-point-finding program like this would benefit enormously from tail-recursion optimisation, but I don't think it's a common case. -- RichardReceived on Friday, 30 November 2007 23:03:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT