[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: void lua_resizetable
- From: "Alex Davies" <alex.mania@...>
- Date: Wed, 25 Mar 2009 20:16:31 +0900
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.