std.allocator needs your help
ponce
contact at gm3sfrommrs.fr
Mon Sep 23 08:56:10 PDT 2013
On Monday, 23 September 2013 at 15:45:25 UTC, Andrei Alexandrescu
wrote:
> On 9/23/13 7:22 AM, ponce wrote:
>> Great news! It looks like a big improvement on akward C++
>> allocators.
>>
>> (For what it's worth I have a working implementation of aligned
>> malloc/free/realloc here
>> https://github.com/p0nce/gfm/blob/master/gfm/core/memory.d,
>> which can be
>> the basis for an allocator layered upon another)
>
> I gave this a read, nice work.
>
> One question: what circumstances require run-time alignment
> values, and what values would those be? I'm currently under the
> assumption that alignments are known during compilation.
>
>
> Thanks,
>
> Andrei
I don't know of a use case for run-time alignment values.
More information about the Digitalmars-d
mailing list