Re: [xsl] performace diffence in MSXSL:SCRIPT blocks

Subject: Re: [xsl] performace diffence in MSXSL:SCRIPT blocks
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 6 Dec 2001 17:51:28 GMT
>  but if it is going to cause a performance slowdown
since the function defined is the same in both cases, it won't have any
affect on the run time of the function itself, so you are talking
about the time taken for the parser to make one CDATA switch as opposed
to a few entity reference lookups for any &lt; and &amp; that need to be
quoted if you don't use CDATA. It's hard to imagine that this will have
a measurable difference for any real msxsl block and anyway be the same
order of magnitute as the time increase gained by omitting your
'---------------------------------------------------------------------
'converts current date to YYYYMMDD format
comment and so saving the parser stepping past it.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread