On Fri, 2005-09-09 at 10:22 -0400, Matt Sergeant wrote: > It depends what architecture you use. You have to compare > like-with-like. XSP in AxKit is perl code that executes to build a DOM > tree, not a XML string, so there's no parsing involved - it's just > iterating over a data structure. And it's very fast.
I didn't mean to say that XSLT is unusably slow, just that it's not likely to be faster than something as simple as HTML::Template. HTML::Template (or HTML::Template::JIT, to compare C code to C code) has a *very* limited set of logical operations (not Turing complete by any stretch) that operates directly on Perl variables. By comparison, XSP will be making method calls to use the DOM tree and supports a very rich programming language. It does much more, and that's why I expect it to be slower. Not slow -- just slower. - Perrin