hashed array?
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Nov 12 11:36:38 PST 2012
On Mon, Nov 12, 2012 at 08:07:08PM +0100, Jonathan M Davis wrote:
> On Monday, November 12, 2012 15:43:57 monarch_dodra wrote:
> > Thoughts?
>
> For now, if you need a set, then use RedBlackTree. Long term, a hash
> set should be added to std.container. As cool as it is to have AAs
> built into the language, they have been a disaster on a number of
> levels, and they buy you very little over having a library type. So, I
> see no reason to complicate the language further buy trying to add a
> hash set to it (especially considering all of the issues with AAs).
[...]
I contend that the problem with built-in AA's is their implementation,
not the fact that they're built-in.
T
--
Be in denial for long enough, and one day you'll deny yourself of things you wish you hadn't.
More information about the Digitalmars-d
mailing list