lua-users home
lua-l archive

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


There could be many definitions of "large tables", so you have to pick one, and implement the corresponding algorithm. For instance, what's the size of table { _G, _G } ?

As for strings, they're stored in a global table, accessible in one of lua state's fields, called "strt" IIRC; you can easily write a C function to traverse it.

-- Fabien.