AA performance again

Steven Schveighoffer schveiguy at yahoo.com
Mon Jun 9 08:46:41 PDT 2008


Have you tried dcollections HashMap?

www.dsource.org/projects/dcollections

If you use with Tango, the memory performance should be better (I have a 
special allocator that requires some of tango's GC functions).

On my box (don't have python installed), 10m inserts took 15.3s, and the 
memory usage was 290MB (I think :) )

Of course, the python numbers are much better, but the issue basically comes 
down to when you allocate more memory, the GC tries to run and free some up 
too often.  There's not a lot I can do about that.

-Steve 





More information about the Digitalmars-d mailing list