lua-users home
lua-l archive

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


Ariel Manzur <puntob@gmail.com> writes:
> it would be nice if the __gc entry was on the userdata itself instead
> of the metatable..

Why?  99% of the time, many objects share the same __gc, so there's
little point in bloating userdata to make it per-object.

-Miles

-- 
"Nah, there's no bigger atheist than me.  Well, I take that back.
I'm a cancer screening away from going agnostic and a biopsy away
from full-fledged Christian."  [Adam Carolla]