How to handle dead bodies? | 'Freezing' ragdolls for performance?

So this is the solution I went with. It’s just a single line of code, just add a


GetMesh()->PutAllRigidBodiesToSleep();
 

and it freezes the ragdoll.

But this is just so easy and the other solutions posted after this in this thread are so overly-complicated that I’m thinking maybe putting them to sleep isn’t enough? I assume when you put them to sleep they completely stop all physics queries so it has zero performance impact from physics, so it would be just as good for performance as the other solutions here, right? Or am I missing something?