lua-users home
lua-l archive

Re: Loop efficiency

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

AltStyle によって変換されたページ (->オリジナル) /