About built-in AAs

Sean Kelly sean at invisibleduck.org
Wed Aug 17 10:54:06 PDT 2011


On Aug 17, 2011, at 7:04 AM, Steven Schveighoffer wrote:
> 
> Yes, but let's not forget the one valid request out of all of this -- if trees are no longer being used, opEquals should be used insted of opCmp.  This allows more possible key types (which don't define an ordering). I think this would be a simple druntime change.

Yup.  It would make the AAs faster too.  I'd love to deprecate the requirement for opCmp with AAs.


More information about the Digitalmars-d mailing list