Re: H::T ported to C?

Sam Tregar <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On Wed, 14 Sep 2005, David Kaufman wrote:

> Has anyone tried this XS implementation of HTML::Template?
> http://search.cpan.org/~viy/HTML-Template-Pro-0.50/ I'm interested
> to hear whether it is really "10-25 times faster" than pure-perl
> HTML::Template and/or really 1-3 times faster than H::T with caching
> under mod_perl...

I did try it. I found two problems: 1) it's slower than
HTML::Template::JIT and 2) it has some significant compatibility
problems.  An example of 2, if I remember correctly, is that errors
are communicated by embedding the error message in the return value
from output() rather than via die().

-sam


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.