Exemple #1
0
 void reserve(uint u)
 {
     if (u > capacity_)
     {
         dense.ExpandTo(u);
         sparse.ExpandTo(u);
         capacity_ = u;
     }
 }
 public void CopyValuesTo(FasterList <TValue> values)
 {
     values.ExpandTo((uint)_dict.count);
     CopyValuesTo(values.ToArrayFast(out _), 0);
 }
 public void CopyTo(FasterList <TValue> transientEntitiesOperations)
 {
     transientEntitiesOperations.ExpandTo(_dict.count);
     CopyTo(transientEntitiesOperations.ToArrayFast());
 }