This commit is contained in:
vis2k 2021-08-07 22:01:35 +08:00
parent 93246ffda5
commit a2f5659723

View File

@ -88,8 +88,8 @@ public void CompressAndDecompressQuaternion()
[Test] [Test]
public void CompressAndDecompressQuaternion_Iterate_0_to_360() public void CompressAndDecompressQuaternion_Iterate_0_to_360()
{ {
// stepSize 1: 360 * 360 * 360 = 46 million [takes 96 s] // stepSize 1: 360 * 360 * 360 = 46 million [takes 96 s]
// stepSize 5: 72 * 72 * 72 = 373 thousand [takes 700 ms] // stepSize 5: 72 * 72 * 72 = 373 thousand [takes 700 ms]
const int stepSize = 5; const int stepSize = 5;
for (int x = 0; x <= 360; x += stepSize) for (int x = 0; x <= 360; x += stepSize)