Re: [xsl] how to split word into sequence of letters

Subject: Re: [xsl] how to split word into sequence of letters
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Sat, 18 Aug 2012 21:11:37 +0530
Hi Dimitre,

On Sat, Aug 18, 2012 at 9:03 AM, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
>     for $c in string-to-codepoints($s) return codepoints-to-string($c)
>
> can be much more efficient (linear time complexity) than the above
> expression that calculates substring N times. (O(N^2) in the absence
> of a good optimizer).

It's nice to know, that we can compare time complexity at this
granularity of API usage :)



-- 
Regards,
Mukul Gandhi

Current Thread