mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 20:53:40 -04:00
Make physics tick slightly faster
This commit is contained in:
parent
7a3e1ba385
commit
486fdd847b
@ -78,8 +78,9 @@ namespace MCGalaxy.Util {
|
||||
|
||||
/// <summary> Resets all bits of data to false. </summary>
|
||||
public void Clear() {
|
||||
for (int i = 0; i < bits.Length; i++)
|
||||
bits[i] = null;
|
||||
byte[][] bits_ = bits; // local var to avoid JIT bounds check
|
||||
for (int i = 0; i < bits_.Length; i++)
|
||||
bits_[i] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user