Re: Loop efficiency
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Loop efficiency
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2012年12月20日 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.