If I want only the first and the third value of the function f(), I can do the following:
local a, _, b = f();
Since _ is a valid name, maybe _ gets assigned a large table.
Is there a way to omit this assignent to _ in the above case? (Clearly: if _ goes out of scope it is gc'ed).
Not sure if it helps but maybe you can define a helper function like
and then use it like