lua-users home
lua-l archive

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


> All memory requests in the Lua core are done through a single 
> function, luaM_realloc.

Is there an opportunity for whatever backend memory manager is bolted
onto Lua to do compaction?  Even if a hardcoded heap is supplied using a
primitive malloc() style library, it's entirely possible that the
fragmentation in the heap will result in a non-functional Lua subsystem
after a period of time.

Brian