s9y and the lovely Internet Explorer 7 :-(

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post 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?
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply