== operator

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 3 21:16:53 PST 2015


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

https://issues.dlang.org


More information about the Digitalmars-d mailing list