xsl-list
[Top] [All Lists]

Re: [xsl] xslt architecture

2008-05-22 02:35:38
2008/5/22 Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com>:
From a processor's perspective: is there any difference between one
stylesheet containing 100 templates and 100 stylesheets each
containing 1 template each, with an extra stylesheet containing 100
include statements?

The monolithic one is likely to be measurably faster (if you have a
high resolution timer), but not noticeably faster (to the user).
Simply because of the overhead involved in opening a file (or socket
connection).

Memory usage will also be very slightly higher.

Import precedence issues aside, if they were 100 imports instead of
includes, does that make a significant difference to the processor?
(all unique files imported once, not the same file imported in
multiple locations)

No.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>