Associative arrays

Adam D. Ruppe destructionator at gmail.com
Tue May 18 13:04:05 UTC 2021


On Tuesday, 18 May 2021 at 12:57:01 UTC, Steven Schveighoffer
> Let's make that 2 arrays (static or stack-allocated dynamic) to 
> avoid the vararg template cost.

That's good for current AAs, but it can't do the heterogeneous 
types.

Of course that's illegal in D right now anyway I'm just holding 
out hope for an expansion for json literals w/o explicit 
constructors on each element too. :)

but yeah that'd work just fine too.


More information about the Digitalmars-d mailing list