[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: inadequate documentation for select and table.unpack
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 20 Jun 2016 21:20:38 -0300
> Could you explain why that happens? luaB_select is clearly O(1).
> Does VARARG copy the arguments?
> If so, why is that necessary?
Any function call in Lua copies the arguments to the stack frame of
the new function being called. You are all invited to do a better