From 1c184c016639208ba92a243d907adfbc67ee129c Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sun, 3 Apr 2022 14:14:50 -0700 Subject: [PATCH] component storage doesnt need ID storage --- src/ComponentStorage.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ComponentStorage.cs b/src/ComponentStorage.cs index 0d7ba6e..a777494 100644 --- a/src/ComponentStorage.cs +++ b/src/ComponentStorage.cs @@ -11,7 +11,6 @@ internal abstract class ComponentStorage internal class ComponentStorage : ComponentStorage where TComponent : struct { private int nextID; - private IDStorage idStorage = new IDStorage(); private readonly Dictionary entityIDToStorageIndex = new Dictionary(16); private int[] entityIDs = new int[16]; private TComponent[] components = new TComponent[16];