[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] HT vs TT speed wise


On Tuesday 30 January 2007 10:04, Robert Hicks wrote:
> I have about a 5 page site. I have it going in TT since that is what I
> normally use. I got to thinking about whether HT was faster since it is
> "just" a templating system.
>
> Has anyone ever done a comparison?

I haven't done a comparison, but I did run into a speed problem with 
generating some parts of a table using TT and looping (though the table was 
particularly abnormal--180 columns by several dozen rows--big loop).  I ended 
up doing it in perl and then inserting that HTML chunk directly into the 
template.  I expect that both template systems will have trouble with 
intensive looping or control structures.  Caching the compiled templates may 
make a significant difference, but I never went that route.

Sean

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.