[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: Tue, 5 Apr 2011 15:39:40 -0300
> exactly my point :) particular mempool for particular app :)
Your point was not clear in your original posting. Now that it is, you
can see why we allow the user to provide a memory allocator. So, if it
works for you, then by all means use a custom allocator. But that does
not mean your allocator will work for other Lua apps or that one should
try writing a custom allocator lightly.