Associative Arrays need cleanout method or property to help garbage collection
Robert Jacques
sandford at jhu.edu
Sat Mar 20 12:55:15 PDT 2010
On Wed, 17 Mar 2010 02:57:34 -0300, Michael Rynn
<michaelrynn at optusnet.com.au> wrote:
[snip]
> I want to add that the problems of AA with garbage collection are not
> particular to the implementation of built-in AA. The number of nodes that
> builtin AA creates will increase GC scanning, but the AA slowdowns also
> occurs using the pyDict implementation with string keys.
Actually, you can design the AA to 'play nice' with D's GC. See RandAA.
More information about the Digitalmars-d
mailing list