[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Any thoughts on indexing ...?
- From: "Alex Davies" <alex.mania@...>
- Date: Wed, 9 Apr 2008 17:24:02 +0800
----- 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 ;).