An important pull request: accessing shared affix for immutable data

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 12 17:27:49 PST 2016


On 02/12/2016 08:02 PM, tsbockman wrote:
> What about providing a way to mark a piece of data as thread-local at
> allocation time?

Yah, could be part of the metadata. Then after inspecting that bit, 
shared can be casted away. I consider that an optimization that doesn't 
add or remove generality. -- Andrei


More information about the Digitalmars-d mailing list