lua-users home
lua-l archive

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


----- Original Message ----- From: "Luiz Henrique de Figueiredo"

#...  already has a meaning, thought it's not what you want it to be: it
applies # to the first argument.
...[i] currently does not a meaning but if it did it would have to be the
same as (...)[i], which indexes the first argument.

Of course, apparently I didn't think that one through.

Back to trying to figure out at what point it's worth saving the varargs to a table over using the quadratic select, whilst keeping in mind that future versions of luajit are likely to completely optimise the select away ;).

- Alex