Subject: Re: reverse() template (Was: RE: XSL output method="text" and indent preservation)
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Sat, 04 Aug 2001 07:46:03 +0100
|
Dimitre Novatchev wrote:
>
>
> Here are two templates for reversing a string. The first is much faster and more
> straightforward, the second will almost never cause an XSLT processor to crash due
> to deep recursive processing (it has a maximum recursion depth of only 20 for
> reversing a 1MB long string):
>
A logarithmic decrease in stack depth, very nice. How great is the
difference in performance?
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|