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