lua-users home
lua-l archive

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


Hi,

1.Question:
What is the limit for the number of tables?

If we can preallocate a new table with createtable,
we are limited by "int", unnecessarily.

lua_createtable uses luaH_resize, that accepts unsigned int.
LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize,
                                                    unsigned int nhsize);

2.Question:
Why can we not create a table with size_t?

regards,
Ranier Vilela

Attachment: expand_limits_to_createtable.patch
Description: Binary data