mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comment
This commit is contained in:
parent
c4cc416385
commit
cf02df3a72
@ -124,9 +124,7 @@ public void ClearAllDirtyBits()
|
||||
syncVarDirtyBits = 0L;
|
||||
|
||||
// flush all unsynchronized changes in syncobjects
|
||||
// note: don't use List.ForEach here, this is a hot path
|
||||
// List.ForEach: 432b/frame
|
||||
// for: 231b/frame
|
||||
// (Linq allocates, use for instead)
|
||||
for (int i = 0; i < syncObjects.Count; ++i)
|
||||
{
|
||||
syncObjects[i].Flush();
|
||||
|
Loading…
Reference in New Issue
Block a user