DefaultEcs DefaultEcs.World World.TrimExcess() Method Resizes all inner storage to exactly the number of Entity and components this World contains. This method is not thread safe. public void TrimExcess();