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: performace diffence in MSXSL:SCRIPT blocks



>  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 < and & 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


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