Skip to content

Commit a9051ae

Browse files
committed
cleanup
1 parent 31d9cb8 commit a9051ae

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

RelEcs.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
<PackageLicenseUrl>https://github.com/Byteron/RelEcs/blob/main/LICENSE</PackageLicenseUrl>
99
<Nullable>enable</Nullable>
1010
<WarningsAsErrors>Nullable</WarningsAsErrors>
11+
<PackageVersion>1.5.1</PackageVersion>
1112
</PropertyGroup>
1213
</Project>

src/World.cs

-12
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ public sealed class World
1313

1414
readonly Archetypes _archetypes = new();
1515

16-
internal readonly List<(Type, TimeSpan)> SystemExecutionTimes = new();
17-
1816
readonly TriggerLifeTimeSystem _triggerLifeTimeSystem = new();
1917

2018
public WorldInfo Info => _worldInfo;
@@ -385,14 +383,7 @@ public void Tick()
385383
_worldInfo.ElementCount = _archetypes.Tables[_archetypes.Meta[_world.Identity.Id].TableId].Types.Count;
386384
_worldInfo.CachedQueryCount = _archetypes.Queries.Count;
387385

388-
_worldInfo.SystemCount = SystemExecutionTimes.Count;
389-
390-
_worldInfo.SystemExecutionTimes.Clear();
391-
_worldInfo.SystemExecutionTimes.AddRange(SystemExecutionTimes);
392-
393386
_triggerLifeTimeSystem.Run(this);
394-
395-
SystemExecutionTimes.Clear();
396387
}
397388

398389
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -413,14 +404,11 @@ public sealed class WorldInfo
413404

414405
// public int RelationCount;
415406
public int ElementCount;
416-
public int SystemCount;
417-
public List<(Type, TimeSpan)> SystemExecutionTimes;
418407
public int CachedQueryCount;
419408

420409
public WorldInfo(int id)
421410
{
422411
WorldId = id;
423-
SystemExecutionTimes = new List<(Type, TimeSpan)>();
424412
}
425413
}
426414
}

0 commit comments

Comments
 (0)