jjfreedman / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

[Patch] Reduce runtime memory allocations in Dbvt #574

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is second patch in addition to #573. 
Combined together they give me zero runtime allocations, at least in 
environment where objects don't move. 

I found that in comments for rayTestInternal() it states that function uses 
persistent stack but actually it's local. So I changed it to persistent. I hope 
this doesn't introduces some bugs with parallel configurations (they should 
uses static rayTest with local stack, right?). 

Original issue reported on code.google.com by Anton.Br...@gmail.com on 7 Dec 2011 at 2:42

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in latest trunk, http://code.google.com/p/bullet/source/detail?r=2465

Thanks for the contributions!

Original comment by erwin.coumans on 12 Dec 2011 at 4:53