A game about forced loneliness, made by TACStudios
1using System.Collections.Generic; 2 3namespace Unity.VisualScripting 4{ 5 // For some reason, Enumerable.Empty<T>() seems to allocate 240b in Unity, 6 // even though Mono source seems to use a shared 0-length array instance. 7 // Maybe it's an old version's bug? 8 public static class Empty<T> 9 { 10 public static readonly T[] array = new T[0]; 11 public static readonly List<T> list = new List<T>(0); 12 public static readonly HashSet<T> hashSet = new HashSet<T>(); 13 } 14}