Page 2 of 2

Posted: Wed Nov 22, 2006 10:48 pm
by stm999999999
Ok, it works well. But one question:

What is about the performance? Using a function, is this as cheap as using the {$template}-variable?

Posted: Thu Nov 23, 2006 12:14 pm
by garvinhicking
Hi!
What is about the performance? Using a function, is this as cheap as using the {$template}-variable?
No, the function call is maybe half as fast. You would need to do some benchmarks to get proper values. But it should be an influence on maybe 0.000x% of the total page generation time.

Regards,
Garvin