Builtin array and AA efficiency questions

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 16 03:13:12 PDT 2015


On Thursday, 15 October 2015 at 21:00:37 UTC, Random D user wrote:
> Right. Like a handle system or AA of ValueHandles in this case. 
> But I'll probably just hack up some custom map and reuse it's 
> mem. Although, I'm mostly doing this for perf (realloc) and not 
> mem size, so it might be too much effort if D AA is highly 
> optimized.

Well, there was some work on alternative implementations of AA.
https://github.com/MartinNowak/druntime/blob/libraryAA/src/core/aa.d
https://github.com/MartinNowak/druntime/blob/newaa-internal-aa/src/core/internal/aa.d


More information about the Digitalmars-d-learn mailing list