Optional monitors suggestion
Yuriy via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 17 23:03:42 PDT 2014
On Sunday, 18 May 2014 at 04:44:56 UTC, Martin Nowak wrote:
> Global hashmap is a bad idea IMO because it's possibly
> expensive and impure. Rather deprecate synchronizing on classes
> without an explicit monitor.
Totally agreed. Hashmap is done just not to break existing code.
I don't think i've got the right to deprecate anything with my
PRs =).
> A UDA on the class is cleaner than adding magic members.
Yes, my PRs already include that.
More information about the Digitalmars-d
mailing list