Optimizing Immutable Data?

Jack Stouffer via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Jul 10 12:46:50 PDT 2015


Thanks for the response.

On Friday, 10 July 2015 at 19:12:43 UTC, David Nadlinger wrote:
> For example, we can't optimize on `pure` in debug builds 
> because there might be `debug` blocks that circumvent purity, 
> and so on.

Do you then correctly optimize this in release builds?

> We really need to clarify the language specification here so 
> that people no longer assume that it is okay to do things that 
> DMD lets them get away with.

Are there any open bug reports on bugzilla for the nothrow 
problem? I know that Brian Schott has succeeded in getting a lot 
of specification problems resolved by tracking them in 
https://issues.dlang.org/show_bug.cgi?id=10233.


More information about the digitalmars-d-ldc mailing list