Forums / General / section / if / foreach ...
Nicolas OTTAVI
Tuesday 06 December 2005 1:02:57 pm
Hi,
In the documentation I read that the {section} template control structure was deprecated. It is suggested to use more common like control structures (e.g if, while; foreach,switch ...).
I think it is great. And It will probably be better in the next versions if more common operators will be used (like '==' instead of eq), but my questions is regarding the performances ? Is there a gain in using if, foreach controls instead of section one ?
Thanks for your answer,C.
Frederik Holljen
Tuesday 06 December 2005 2:21:27 pm
It should be about the same. Although the syntax is different the functionality is about the same.
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs