An important pull request: accessing shared affix for immutable data
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Sat Feb 13 19:38:52 PST 2016
On Sunday, 14 February 2016 at 01:27:40 UTC, Andrei Alexandrescu
wrote:
> On 2/13/16 5:01 PM, deadalnix wrote:
>> What about storing the metadata at an address that is
>> computable from
>> from the object's address, while not being contiguous with the
>> object
>> allocated ? Is substracting a constant really the only option
>> here ?
>> (hint, it is not)
>
> I'd say, you have at your disposal a flexible allocator
> framework so a simple way to go about it would be to implement
> new allocators that take various options about storing
> metadata. -- Andrei
I have nothing against this as some sort of optin allocation
scheme. But my understanding was that it is desirable to wire RC
into this.
More information about the Digitalmars-d
mailing list