[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Heap memory issues for Embedded Systems
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 7 Jul 2005 21:43:59 -0300
> I wonder if it'd be a win, for allocation speed and memory fragmentation,
> if Lua could be convinced to hook into C++-style allocation through callbacks.
I'm not sure what you mean, but memory allocation in 5.1 is through callbacks.
In 5.0 you can compile Lua to use your own allocation routines, which use
the same interface (ie, get the old size).
--lhf