[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: memory allocation
- From: erik@... (Erik Hougaard)
- Date: Sat, 22 Jul 2000 00:37:46 +0200
----- Original Message -----
> I have a question about the memory allocation in
> lmem.c. Is it acceptable to replace malloc, realloc
> and free with custom handlers? Also, if the custom
> handlers include features like debug byte padding
> surrounding allocated blocks, will Lua handle this
Go ahead and replace 'em ... I have used several memory managers and it has
never caused any problems... Be aware that realloc is used quite offen so
make sure that your memory manager handles this effective!
/Erik