From 251aca7abc13e269c1593745ce8ee08c7ccb1933 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 13 Dec 2024 07:33:55 +0300 Subject: [PATCH] test --- src/voxels/ChunksStorage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/voxels/ChunksStorage.cpp b/src/voxels/ChunksStorage.cpp index 8a872eea6..45c74fee3 100644 --- a/src/voxels/ChunksStorage.cpp +++ b/src/voxels/ChunksStorage.cpp @@ -29,6 +29,7 @@ inline long long keyfrom(int x, int z) { static debug::Logger logger("chunks-storage"); ChunksStorage::ChunksStorage(Level* level) : level(level) { + chunksMap.max_load_factor(0.2f); } std::shared_ptr ChunksStorage::fetch(int x, int z) {