lua-users home
lua-l archive

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


>> Yes. It's in our plans for 5.1: chunks will be vararg functions.
>
>Meaning that each time a chunk is executed, there will be the overhead of
>taking the arguments on the stack and making a table of them ?

No, that's exactly the point: we plan to get rid of the automatic table
creation! We plan to let "..." stand for the list of arguments. If you need
a table, you'll be able to write {...}. More on that later...
--lhf