Purity (D2 standard libraries / object.d)

Walter Bright newshound1 at digitalmars.com
Fri Jan 9 13:18:23 PST 2009


Robert Fraser wrote:
> ... will the compiler optimize it? Since A.opEquals() is final,
> there's no polymorphism, so it should be able to, but I don't know
> about the implementation.

It should optimize it.



More information about the Digitalmars-d mailing list