GradientStudios/bump.js — pull request #62 by tJener (2012-06-21 18:07:47+00:00)
Title: Optimize box and compound collisions

Reduced a lot of object allocations that occur every simulation step, which was the main cause for performance loss in the simulation. There's also a bug fix or two, that seem to really matter when caching and reusing certain objects.

There's also a memory leak that got plugged in 59e558a, which should help with overall stability.

The largest remaining offenders:
* [solveSingleIteration](https://github.com/GradientStudios/bump.js/blob/22e9047daa6d0abceea4a2160dfa623421fe881b/src/BulletDynamics/ConstraintSolver/SequentialImpulseConstraintSolver.js#L790)
* [collideTTpersistentStack](https://github.com/GradientStudios/bump.js/blob/22e9047daa6d0abceea4a2160dfa623421fe881b/src/BulletCollision/BroadphaseCollision/Dbvt.js#L1018)
* [insertleaf](https://github.com/GradientStudios/bump.js/blob/22e9047daa6d0abceea4a2160dfa623421fe881b/src/BulletCollision/BroadphaseCollision/Dbvt.js#L516)
* [dBoxBox2](https://github.com/GradientStudios/bump.js/blob/22e9047daa6d0abceea4a2160dfa623421fe881b/src/BulletCollision/CollisionDispatch/BoxBoxDetector.js#L244)