[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Upcoming changes in Lua 5.4
- From: Mark Hamburg <mhamburg.ml@...>
- Date: Mon, 15 Jan 2018 17:24:52 -0800
I don't know what the Lua 5.4 implementation is doing, but since it isn't clear whether arguments are varargs or regular args until one gets into the function itself, it certainly seems like if this were an issue it would be straightforward for the compiler to recognize when the function just passes the varargs along without accessing them in any other way and take appropriate steps to optimize for this case. In other words, at the very least, it doesn't seem like this has to be a concern.