lua-users home
lua-l archive

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


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