[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Lua presentation at XGDC3.0
- From: Brian Hook <public@...>
- Date: Wed, 19 Sep 2001 09:48:48 -0700
> What I learned is that it is critical to route all
> allocations for Lua through a custom heap made just for Lua.
Ack. I assume Lua is just calling the stdlib malloc/free liberally
then? Is there a trivial way to let Lua manage its own heap by passing
in a predefined heap at initialization time? This is particularly
important, I would imagine, for a game that has very long run-times and
can't suffer fragmentation.