lua-users home
lua-l archive

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


Roberto Ierusalimschy wrote:
> To add another "next" pointer to each userdata would increase memory
> consumption [...]

Probably not feasible here, but FYI:
  http://en.wikipedia.org/wiki/XOR_linked_list

> Among other things, this change could open the doors for __gc
> metamethods for tables.

Are you sure you want to open this door? You may never be able to
close it again.

--Mike