From b27cbcb50ae6719b95f1358380ea78283c265fe4 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sun, 6 Mar 2022 23:27:35 -0800 Subject: [PATCH] note about ReadEntities --- src/EntityComponentReader.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EntityComponentReader.cs b/src/EntityComponentReader.cs index c87a411..ef19723 100644 --- a/src/EntityComponentReader.cs +++ b/src/EntityComponentReader.cs @@ -15,6 +15,7 @@ public abstract class EntityComponentReader ComponentDepot = componentDepot; } + // TODO: is this faster or slower than a single-component Filter? protected ReadOnlySpan ReadEntities() where TComponent : struct { return ComponentDepot.ReadEntities();