lua-users home
lua-l archive

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


> 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?