diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-08 13:34:04 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-08 13:34:04 +0200 |
commit | 3fe79d8516abdf875c131528cc6ceacd68a2cacd (patch) | |
tree | 0acffb18c136d5701829c1b74c5ed7011ba89a2c /source/WSSAnvil.cpp | |
parent | Fast NBT writer (Saving a chunk is now about twice as fast) (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | source/WSSAnvil.cpp | 8 |
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;
}
|