Does associative array change the location of values?
Ali Çehreli
acehreli at yahoo.com
Sun Oct 31 02:56:35 UTC 2021
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. :)
Ali
More information about the Digitalmars-d-learn
mailing list