[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PATCH: fixes bug with calling garbage collector from custom lua_Alloc
- From: "Bogdan Marinescu" <bogdan.marinescu@...>
- Date: Thu, 8 May 2008 10:02:30 +0300
> Why is the Min.size of 'f' mode almost twice the size of 'a' mode for the
> life.lua script? Is the allocators memory block becoming fragmented?
'life.lua' does a lot of reallocs, and most of them are 1-byte diff
reallocs. I'm guessing that the 'a' mode keeps the memory from
fragmenting too much in this case. So far this is the only script I
found that exhibits this behaviour.
I didn't try step collections so far, I'll give it a try.