assert semantic change proposal

via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 5 13:14:32 PDT 2014


On Tuesday, 5 August 2014 at 20:09:44 UTC, Ary Borenszweig wrote:
> By the way, most of the time in this list I hear "We could use 
> this and that feature to allow better optimizations" and no 
> optimizations are ever implemented. Look at all those @pure 
> nosafe nothrow const that you have to put and yet you don't get 
> any performance boost from that.

Hmm... I've never seen these annotations as a performance 
feature. They're there to help writing correct programs. If this 
allows some performance gains, great, but IMHO it's not their 
primary purpose.


More information about the Digitalmars-d mailing list