lua-users home
lua-l archive

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


Mike Pall wrote:
>
> Edgar Toernig wrote (in the thread 'Lua 5 and tags'):
> > 
> > Hmm... that gets me back to the old idea of merging userdata and
> > tables: give every table an additional void* field and remove the
> > userdata type completely *g*
> 
> Maybe it's time to start a 'Userdata/Table Unification' thread ...

Umm... ehh...  I wasn't really serious.  Sorry.

Yes, some time ago I thought about it.  But the (roughly) doubled memory
consumption, the need to protect the gc-callback and problems with the
metatable==type assumption let me drop that idea.

Ciao, ET.