Joint efficiency

I've been reviewing how Box2D joints work.
I notice most joints involve calculating an effective mass matrix, K. But frequently they recalculate it every call to SolveVelocityConstraints, or at least call Solve/Solve22/Solve33.

As we are calling solve velocity constraints many times, and the position remains unchanged throughout (position correction occurs later), wouldn't it make sense to calculate K once in InitVelocityConstraints, and invert it. Inverting cannot be more expensive than calling Solve33 3 times, and we are expecting to call it many more times than that.
I believe that code is in the revolute joint. I could store the inverse, but I would need to store the 3x3 inverse and the 2x2 inverse.

While this is inefficient, most of the cost in the solver comes from cache misses. We can stream through constraints in a linear fashion, as in the contact solver, but we must still jump around to grab the body velocities and positions. For joints this is even worse because joints are accessed in random order.
Cache misses. Okay.

Original thread: https://box2d.org/forum/viewtopic.php?t=4045