std.allocator needs your help
Dan Schatzberg
dschatz at hidden.edu
Tue Sep 24 06:52:02 PDT 2013
On Tuesday, 24 September 2013 at 13:21:48 UTC, deadalnix wrote:
> On Tuesday, 24 September 2013 at 11:38:29 UTC, Dan Schatzberg
> wrote:
>> One thing I'm not sure is addressed by this design is memory
>> locality. I know of libnuma http://linux.die.net/man/3/numa
>> which allows me to express what NUMA domain my memory should
>> be allocated from at run-time for each allocation.
>>
>
> Not being part of the interface do not mean that the allocator
> cannot accept parameters. Via state for instance.
It is likely that I have a misunderstanding but as I understand
the proposal, I could not use the same allocator to allocate
memory with different locality domains. This seems like something
that would be desirable for the base allocator of a hierarchy.
More information about the Digitalmars-d
mailing list