On Wednesday, 8 June 2016 at 17:23:22 UTC, deadalnix wrote:
I wonder if Andrei's allocator API supports freeing with a size argument.
...
This extra bit of infos seems to be less useful in practice than you'd naively expect. Someone may come up with something interesting to do with it someday, but I haven't seen anything that groundbreaking so far.

OK. What if the allocation size was passed as a compile time parameter on deallocation? Then CTFE could calculate e.g. the next power of 2.

Reply via email to