From ac117959d380e4c8f538fcb7532c59c4839b5806 Mon Sep 17 00:00:00 2001 From: faketruth Date: Tue, 28 Feb 2012 14:22:03 +0000 Subject: Server uses ~40% less CPU now git-svn-id: http://mc-server.googlecode.com/svn/trunk@339 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cChunk.h') diff --git a/source/cChunk.h b/source/cChunk.h index cc9585810..836bec9d8 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -236,7 +236,7 @@ private: bool m_HasLoadFailed; // True if chunk failed to load and hasn't been generated yet since then cCriticalSection m_CSBlockLists; - std::map< unsigned int, int > m_ToTickBlocks; + std::deque< unsigned int > m_ToTickBlocks; std::vector< unsigned int > m_PendingSendBlocks; // A critical section is not needed, because all chunk access is protected by its parent ChunkMap's csLayers -- cgit v1.2.3