lua-users home
lua-l archive

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


On Jan 9, 2010, at 12:31 AM, steve donovan wrote:

> 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.

table.pack is probably also more efficient in C.

Mark