hashed array?

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Nov 12 08:50:40 PST 2012


On Mon, Nov 12, 2012 at 08:27:51PM +0400, Dmitry Olshansky wrote:
> 11/12/2012 6:43 PM, monarch_dodra пишет:
> >D has a built in hashed associative container, which is great.
> >
> 
> 
> No. The literals are nice though.
> 
> >I've noticed though it has no built-in "hashed container" for when
> >you just need to store unique elements, but without any specific data
> >associated (lists of names, for example).
> 
> There is no need for built-in containers. If anything there is plan
> to move hash out of built-ins. The fact that it utterly failed to
> happen doesn't prove anything as it still has to be the library
> type.
[...]

I'm still hoping to get back to moving AA into the library one day.
There are a lot of open bugs with the current AA implementation that
stem from the fact that it's in two different places, and the core AA
code has no access to value types.


T

-- 
Klein bottle for rent ... inquire within. -- Stephen Mulraney


More information about the Digitalmars-d mailing list