This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Re: exponential math functions in xslt
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 20 Sep 2002 22:37:26 -0700 (PDT)
- Subject: [xsl] Re: Re: Re: exponential math functions in xslt
- Reply-to: xsl-list at lists dot mulberrytech dot com
--- Trevor Nash <tcn at melvaig dot co dot uk> wrote:
> >Allow me to disagree with this. The Javascript extension does
> nothing
> >else but call the standard math.log()
> >
> >And the math object itself will hardly be implemented in Javascript.
> >Therefore, there's no reason why Javascript's math.log() would
> perform
> >slower than its any other language counterpart.
> >
> True, except that you are invoking an interpreter in order to
> determine that it is math.log() that you need to call - I'm just
> guessing that the cost of doing that is significant (scanning,
> parsing, symbol lookup...). Are you saying the XSLT/Javascript
> combination contrives to do this work just once per run?
To do the initial steps only once seems to be the only possible option.
Otherwise it would not be possible to maintain static data in its
latest state.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list