Skip to content

Commit

Permalink
Tests - format example
Browse files Browse the repository at this point in the history
  • Loading branch information
friflo committed Aug 2, 2024
1 parent a634475 commit 1cc3d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tests/ECS/Examples/Optimization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void EnumerateQueryChunks()
foreach (var (components, entities) in query.Chunks)
{
for (int n = 0; n < entities.Length; n++) {
Console.WriteLine(components[n].value); // > 42 44 44
Console.WriteLine(components[n].value); // > 42 44 44
}
}
// Caution! This alternative to iterate components is much slower
Expand Down

0 comments on commit 1cc3d33

Please sign in to comment.