lua-users home
lua-l archive

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


On 18 March 2018 at 18:32, Petri Häkkinen <petrih3@gmail.com> wrote:
> Anyone willing to step up and write a patch for arrays? I bet it would solve the issues with #, make Lua code clearer about its intent and also give a nice perf boost. As arrays would be a new lang feature, existing code would not be affected at all.
>
> A good proof of concept and demonstration how it solves the issues might be all that is needed to convince Roberto et all that this is the right way to go ;-)
>
> Heck, this could be the killer feature of 6.0 that would make people stuck in 5.1 to jump aboard.
>
> If not, then at least we could drop this talk about arrays and move on.
>
> Any takers?

You don't even need a patch.
See http://lua-users.org/lists/lua-l/2016-06/msg00409.html
And the linked https://gist.github.com/daurnimator/aa23173220a5b3d1a97a