DefaultEcs DefaultEcs.EntitySortedSet<TComponent> EntitySortedSet.TrimExcess() Method Resizes inner storage to exactly the number of Entity this DefaultEcs.IEntityContainer contains. public void TrimExcess();