[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Loop efficiency
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 20 Dec 2012 08:25:28 +0200
2012/12/20 Vadim Peretokin <vperetokin@gmail.com>:
> Could you show the examples you tested with?
I did. Starting from test_ipairs.lua,
> I replaced the line
>
> sum = sum + j + v
>
> by
>
> sum = tostring(v):upper()
Just that one line was changed. When I saw what it does
to `while`, I did not bother to do any of the others.