[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug report: LUA compiler glitch
- From: Geoff Leyland <geoff_leyland@...>
- Date: Wed, 10 Aug 2011 12:24:20 +1200
On 10/08/2011, at 12:14 PM, Steve Litt wrote:
> Can anyone explain the benefit of:
>
> a, b = 1, 2
Some people might think it looks nicer than the alternative in some cases.
It might be that even more people think that
x, y = y, x
looks nicer than
local temp = x
x = y
y = temp
LuaJIT generates the same code for both.