Does associative array change the location of values?

Elronnd elronnd at elronnd.net
Sun Oct 31 03:42:35 UTC 2021


On Sunday, 31 October 2021 at 02:56:35 UTC, Ali Çehreli wrote:
> On 10/30/21 3:47 PM, Elronnd wrote:
>
> > If the GC were moving, it would also have to move the
> pointers you took
> > to AA elements.
>
> I doubt D's GC can ever change pointer values because the 
> values may be hiding inside e.g. ulong variables. And we would 
> definitely not want the GC to change ulong values just because 
> it thought they were familiar pointer values in disguise. :)

Precise GC exists now.


More information about the Digitalmars-d-learn mailing list