[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: how to split word into sequence of letters

Subject: Re: how to split word into sequence of letters
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 18 Aug 2012 09:18:24 -0700
Re:  how to split word into sequence of letters
On Sat, Aug 18, 2012 at 8:41 AM, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
> 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 :)


Agreed. Not only nice, but mandatory, when developing something serious.


Cheers,
Dimitre.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.