AA with class keys compared with identity instead of opEquals
Per Nordlöw
per.nordlow at gmail.com
Sun Sep 27 19:05:42 UTC 2020
On Sunday, 27 September 2020 at 18:56:15 UTC, Ferhat Kurtulmuş
wrote:
> By looking at object.d and aaA.d of druntime, I d say you don't
> need to use void*. Object class has required infrastructure
> ready for using classes aa keys (have not tried though). Object
> class has both toHash and opEquals already implemented.
That's gonna be much slower. And I need key's to be checked for
equivalence ,not equality.
More information about the Digitalmars-d-learn
mailing list