Closed nmccoy closed 7 years ago
I've been doing a bit of profiling, and ObjectInfo
queries are currently taking up approx. 90% of our runtime. This can vastly improve our performance.
See https://0fps.net/2015/01/23/collision-detection-part-3-benchmarks/ for some information on collision detection... in javascript, but it might give us some pointers. See also: http://www.dyn4j.org/ http://www.jbox2d.org/
https://github.com/aled/jsi Is what we want, we should integrate it.
It seems like there should be a more efficient solution than giant arrays of HashSets and Integer autoboxing, but it currently works.