lua-users home
lua-l archive

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


> Could you explain why that happens? luaB_select is clearly O(1).
> Does VARARG copy the arguments?

Yes.


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

-- Roberto