summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-08 13:34:04 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-08 13:34:04 +0200
commit3fe79d8516abdf875c131528cc6ceacd68a2cacd (patch)
tree0acffb18c136d5701829c1b74c5ed7011ba89a2c
parentFast NBT writer (Saving a chunk is now about twice as fast) (diff)
downloadcuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.tar
cuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.tar.gz
cuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.tar.bz2
cuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.tar.lz
cuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.tar.xz
cuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.tar.zst
cuberite-3fe79d8516abdf875c131528cc6ceacd68a2cacd.zip
-rw-r--r--source/WSSAnvil.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/WSSAnvil.cpp b/source/WSSAnvil.cpp
index f8e3abac3..fae1556ea 100644
--- a/source/WSSAnvil.cpp
+++ b/source/WSSAnvil.cpp
@@ -233,14 +233,6 @@ bool cWSSAnvil::SaveChunk(const cChunkCoords & a_Chunk)
return false;
}
- // DEBUG: How fast is it?
- DWORD BeginTick = GetTickCount();
- for (int i = 0; i < 1000; i++)
- {
- SaveChunkToData(a_Chunk, ChunkData);
- }
- LOGINFO("1000* SaveChunk took %d ticks.", GetTickCount() - BeginTick);
-
// Everything successful
return true;
}