lua-users home
lua-l archive

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


> On 31 Mar 2018, at 8.31, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 
> Here is a summary of changes from a Lua programmer's point of view
> (some of them may be implementation details or even bugs):

Two minor points I forgot to mention:

- table.remove() also decreases array size

- table.resize() has an effect on normal tables. It resizes the array part, so that you can avoid reallocs when filling in large amount of data to integer keys. Useful on its own even without arrays and should be part of Lua.

Petri