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

Re: Re: Re: xsl:for-each evaluator?

Subject: Re: Re: Re: xsl:for-each evaluator?
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 13 Jun 2003 06:53:56 +0200
xsl count loop
"Jeff Kenton" <jkenton@xxxxxxxxxxxxx> wrote in message
news:3EE8719E.8010106@xxxxxxxxxxxxxxxx
> Dimitre Novatchev wrote:
> > One *cannot know* if a program will terminate -- unless this property
has a
> > strict proof.
>
> This is known as The Halting Problem.  The following link has a nice
description of it:
>
>     http://www.wikipedia.org/wiki/Halting_problem

Yes, that's nice


> On the other hand, the original poster had a program that he knew halted.
All he wanted was some instrumentation to count loop iterations and measure
timing.


To be exact, the OP wrote:

"Does anyone know of a program that will evaluate an xsl:for-each loop to
tell the number of computations the loop is doing?  Or the speed of the
algorithm (ie O(n log n) ...)."

My answer adresses his last sentence -- claims like "this algorithm has a
O(n log n) complexity" always have to be proven.

This proof will necessarily include a correctness proof -- hence the halting
problem was also mentioned.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL






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


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.