lua-users home
lua-l archive

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


on 9/18/04 7:17 AM, Wim Couwenberg at debosberg@yahoo.com wrote:

> local cache = setmetatable({}, {__mode = "v"})

Would it make sense to provide standard globals for the various metatables
for weak tables? Or are they a small enough fraction of the average heap
that sharing them doesn't make much difference?

Mark