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

Re: Sv: Sv: Memory allocators

Bjarke Hammersholt Roune wrote:

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

>I think if people request a blocksize of, say, 24, then that's what they
>should get. The client of the allocator probably knows best what blocksize

Ooops. Completely forgot that it's possible to specify the blocksize
directly. That completely nullifies what I said.


Drive A: not responding...Formatting C: instead