ComputeMass every CreateFixture

Greetings!

I found that every my CreateFixture/DestroyFixture call box2d recompute masses of every shape in a body. As I sometimes creating/destroying dozens of fixtures in realtime is not that inefficient?

Thanks in advance for your reply,
Konstantin.
It is a performance verus memory usage trade-off. I chose to save memory.

Has it become a bottleneck in your application?
Not a bottleneck, but still not a best variant for me. As It common that I have to remove/insert about 50-200 fixtures in one step, so recompute mass of every fixture for every fixture is not a good idea for me :/ I think I'll modify the code.
In your case the mass computation will probably not be the bottleneck, it will the collision tree insertions and removals.

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