On 6/6/07, Tina Müller <[EMAIL PROTECTED]> wrote:
well, many people say, why optimize code if the database is slow anyway.

No offense, but those people are entirely correct.  Choosing a
template module because of its speed when your application is
constrained by your database doesn't make sense.  None of the popular
template modules are slow at this point.

and by the way, JIT doesn't have many features, while HT::Compiled has
the dot syntax.

Now those are good reasons to choose a templating module.  And again,
I wouldn't recommend using JIT for anything serious unless you're
prepared to put some work into it.

for example i have used HTC in a cronjob which generated XML - instead
of LibXML. before the cronjob took so long that we could just run it 4
times a day. after that it could be run 6 times a day.

It sounds like templating (or whatever you would call LibXML) was a
major bottleneck for that application then.  That's when it makes
sense to consider the speed of the templating modules.

- Perrin

Reply via email to