On Mon, 16 Mar 2009 22:56:50 -0400, Mason Green wrote: > Tom S wrote: > The performance could be improved, cause >> my simple profiling attempts seem to indicate that Blaze is abusing the >> GC a bit. > > Yes, I still need to dig a bit more into profiling. Any suggestions, or > contributions :-), for improving GC performance would be much > appreciated!
I had GC issues with the old blaze as well, after some profiling i found some unnecessary allocations and .dups that I removed for a nice speedup. Before i fixed those spots, the GC would get so beat up that it would just crash after about 8 seconds of collisions. I don't know how different Blaze 2.0 is from the version i had, but I'll take a look when I get a chance and see if I can be of any help. I'm using Box2D for the time being because there were still GC issues, but I'm very excited about "smoothed partial hydrodynamics" and non-convex models/partitioning.