== operator

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 3 21:36:21 PST 2015


"Martin Nowak"  wrote in message news:m8aicl$jkt$1 at digitalmars.com...

> On 01/04/2015 04:23 AM, anonymous wrote:
> > I see one fundamental source of overhead: The types degenerate to
> > Object, resulting in virtual calls that could be avoided. Maybe it'd be
> > worthwhile to templatize object.opEquals: `bool opEquals(A, B)(A a, B 
> > b)`.
>
> +1 definitely makes sense, can you file an enhancement request

It would be nice if the inliner+optimizer could do this for us. 



More information about the Digitalmars-d mailing list