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