Revamping associative arrays
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Oct 17 11:28:51 PDT 2009
Associative arrays are today quite problematic because they don't offer
any true iteration. Furthermore, the .keys and .values properties create
new arrays, which is wasteful.
Another issue with associative arrays is that ++a[k] is hacked, which
reflects a grave language limitation. That needs to be replaced with a
true facility.
Any other issues with AAs that you want to see fixed, and ideas guiding
a redesign?
Thanks,
Andrei
More information about the Digitalmars-d
mailing list