using System.Collections.Generic; namespace Unity.VisualScripting { // For some reason, Enumerable.Empty() seems to allocate 240b in Unity, // even though Mono source seems to use a shared 0-length array instance. // Maybe it's an old version's bug? public static class Empty { public static readonly T[] array = new T[0]; public static readonly List list = new List(0); public static readonly HashSet hashSet = new HashSet(); } }