valid uses of shared

Steven Schveighoffer schveiguy at yahoo.com
Mon Jun 11 07:57:12 PDT 2012


On Mon, 11 Jun 2012 09:39:40 -0400, Artur Skawina <art.08.09 at gmail.com>  
wrote:

> On 06/11/12 14:07, Steven Schveighoffer wrote:
>> However, allocating another heap block to do sharing, in my opinion, is  
>> worth the extra cost.  This way, you have clearly separated what is  
>> shared and what isn't.
>>
>> You can always cast to get around the limitations.
>
> "clearly separating what is shared and what isn't" *is* exactly what
> tagging the data with 'shared' does.


I posted a response, it showed up in the online forums, but for some  
reason didn't show up in my nntp client...

If you missed it, it is here.

http://forum.dlang.org/post/op.wfqtz5u0eav7ka@steves-laptop

-Steve


More information about the Digitalmars-d mailing list