lua-users home
lua-l archive

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


Matthew Wild wrote:
> I know which tables in my app are large, they are large because they
> are meant to be large. But just knowing how many entries there are
> gives me no clue to how much RAM they are using, as opposed to say the
> internal string table.
> 
> I think the conclusion is that I need to spend some more time reading
> the Lua sources, and figuring out the best solution for me from that.

The function propagatemark in src/lgc.c has pretty much all the
info you need.

--Mike