I do not know for sure in this case. There is an overhead in serializing 
the UL/LI. Would be nice to have some benchmarks of both.

On Tuesday, 3 April 2012 16:56:04 UTC-5, Yarin wrote:
>
> Massimo mentions 
> here<https://groups.google.com/d/msg/web2py/MaL-nJFcKDc/R-JZ5DQOIzkJ>that one 
> optimization tip is to remove "remove un-necessary {{...}} from 
> the layout". Can someone speak to this- is there a real performance hit to 
> doing 
>
> <ul>
> <li>{{=var1}}</li>
> <li>{{=var2}}</li>
> <li>{{=var3}}</li>
> </ul>
>
> versus this
>
> {{=UL(
> LI(var1),
> LI(var2),
> LI(var3)
> )}}
>

Reply via email to