com.wallstop-studios.unity-helpers 2.0.0-rc79.5 → 2.0.0-rc79.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,7 +117,7 @@ namespace WallstopStudios.UnityHelpers.Core.Extension
117
117
  else
118
118
  {
119
119
  UseDensePacking = false;
120
- SparseNames = new Dictionary<int, string>();
120
+ SparseNames = new Dictionary<int, string>(fields.Length);
121
121
  for (int i = 0; i < fields.Length; i++)
122
122
  {
123
123
  int key = Unsafe.As<T, int>(ref values[i]);