[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 9 Jan 2010 10:31:20 +0200
On Sat, Jan 9, 2010 at 10:22 AM, David Manura <dm.lua@math2.org> wrote:
> A couple exceptions: math.rad, math.deg, and maybe math.max.
You can do math.max in Lua, but it's more efficient to handle varargs in C.
I suppose table.pack() is there for neatness, more than anything else.
Note that unpack now lives in table, which leads to:
local unpack = unpack or table.unpack
at the top of many Lua files