[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: typedef void * (*lua_Alloc) caching
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 3 Apr 2011 15:31:27 -0300
> Is it worth implementing a nice caching mechanism for doing allocations inside lua_Alloc function?
I think the accepted wisdom is to avoid trying to outsmart malloc.
> I've done some synthetic tests, and it looks like there is a lot of improvements especially when working with android on a phone.
Perhaps use a better malloc from the start then?