On Thu, 2005-09-08 at 09:07 -0400, Matt Sergeant wrote: > On 6 Sep 2005, at 11:37, Perrin Harkins wrote: > > > On Mon, 2005-09-05 at 06:42 -0700, Praveen Ray wrote: > >> XSLT transforms are VERY fast > > > > Compared to what? Certainly not compared to HTML::Template. > > Not sure why you say "certainly not". XSLT is very fast and easy to > optimise (because it's assignment free) and the C implementations are > very quick. Remember that an XSLT transform is executing all its tight > loops in C-space, not in perl-space.
Yes, but HTML::Template doesn't do any parsing when executing a template. XSLT always has to parse XML, and then take some pains to generate well-formed XML. I admit that it's possible that an XML parser could be written that is so fast that it actually beats the speed of accessing variables in perl, but it seems very unlikely. - Perrin