Interesting. Guess as long as the difference is negligible in a loop, 
shouldn't be a concern. 
Thanks Anthony-

On Wednesday, April 4, 2012 12:28:32 AM UTC-4, Anthony wrote:
>
> 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.
>>
>
> In a stripped app with no models, no layout (just the list itself in the 
> view), and session turned off:
>
> *For 3 items:*
>
> <li>: 5.9 ms/req
> UL/LI: 5.9 ms/req
>
>
> *For 250 items:*
>
> <li>: 22 ms/req
> UL/LI: 13.3 ms/req
>
>
> *For 250 items with loop/comprehension:*
>
> <li> in loop: 9.4 ms/req
> UL with LI in comprehension: 10.5 ms/req
>
>
> Anthony
>

Reply via email to