[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sv: Memory allocators
Bjarke Hammersholt Roune wrote:
>However, you are right, the difference is quite small, which indicates that
>more time is spent fooling around with the list of free units than the list
>of blocks. I can't say that surprises me very much. Larger block sizes cuts
>down on fragmentation, though.
In some other mail I said something about specifying a size estimate to the
allocator at construction time. What about doing something like
blocksize = <est.size> * 1.1
to minimize both reallocation and fragmentation?
Drive A: not responding...Formatting C: instead