lua-users home
lua-l archive

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


On Thu, Sep 2, 2010 at 4:11 PM, Peter Cawley <lua@corsix.org> wrote:
> The obvious solution to me is to allow the internally used allocator
> to be changed, and allocate those megaoctects as userdata themselves
> (with said userdata not actually being exposed to any Lua script, nor
> having any fancy metatable).

If the userdata is truly not exposed to Lua, it will be collected very
quickly.  The effects of this are quite undesirable. :)