Large Arrays and GC
Fawzi Mohamed
fmohamed at mac.com
Fri May 9 13:40:41 PDT 2008
On 2008-05-09 18:20:19 +0200, bearophile <bearophileHUGS at lycos.com> said:
> dsimcha Wrote:
>> Does anyone know of another way to manually delete associative arrays?
>
> Time ago I have asked that question, and someone has shown me a way,
> you can find a modified version of it as the clear() function in my
> libs:
> http://www.fantascienza.net/leonardo/so/libs_d.zip
> [...]
>
> Bye,
> bearophile
Nice that there is a workaround, but shouldn't an AA:
1) possibly contain pointers
2) have no extrnal pointers pointing to its inside
so is it possible to tell the gc to ignore internal pointer to it, but
still (if kept) scan all the pointers contained in it?
Fawzi
More information about the Digitalmars-d
mailing list