RE: Lua presentation at XGDC3.0
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: RE: Lua presentation at XGDC3.0
- From: Brian Hook <public@...>
- Date: 2001年9月19日 16:12:35 -0700
> 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