lua-users home
lua-l archive

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


But… the global table doesn’t seem to have an array – just a hash
table, and adding to it with rawseti even with an integer index just puts
the new values in the hash table.

I am 90% sure that the global table, on being resized, will be given an array component if its keys suit one, as it's just a regular table.

Are you sure this isn't the case? Because it has quite a few keys in it already, may take a few additions before it resizes.

- Alex