diff --git a/src/Collections/IndexableSet.cs b/src/Collections/IndexableSet.cs index 6eaee89..418749f 100644 --- a/src/Collections/IndexableSet.cs +++ b/src/Collections/IndexableSet.cs @@ -61,19 +61,6 @@ namespace MoonTools.ECS.Collections return false; } - /* - var index = indices[element]; - - if (index != Count - 1) - { - var lastElement = array[Count - 1]; - array[index] = lastElement; - indices[lastElement] = index; - } - count -= 1; - indices.Remove(element); - */ - var index = indices[element]; for (var i = index; i < Count - 1; i += 1)