Associative Arrays in the data segment
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 10 06:44:31 PDT 2015
"Steven Schveighoffer" wrote in message
news:mg8ihs$1at6$1 at digitalmars.com...
> >
> > this has a majour drawback, methinks: an inability to change AA
> > implementation without fixing the compiler too. i.e. i can't no longer
> > to
> > simply rewrite the relevant parts of druntime (change hashing function,
> > for example) and be happy.
>
> I agree with ketmar, If the compiler implements this, then you cannot play
> with the implementation of AA at all without changing the compiler.
The AA implementation has changed once in the time I've been involved with
D. I don't see this as a big concern.
> I'd rather see the compiler treat AA as fully library type, and be able to
> build AA at compile time because the code is sane.
Who wouldn't? But realistically, how many more years until that happens?
More information about the Digitalmars-d
mailing list