This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Simple problem - complicated solution


> The solutions that Joerg presented work correctly, but they are both O(n^2) solutions. 

That rather depends on the optimizer. It's not very hard for an optimizer to turn $x[not($x>.)] into an O(n) expression. Though Saxon doesn't currently do it, I regret.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]