summaryrefslogtreecommitdiff
path: root/src/script/scripting_client.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-05 22:03:49 +0200
committersfan5 <sfan5@live.de>2022-05-08 19:12:10 +0200
commit1fa4f58080b068920d7611291709377072d0cd00 (patch)
treef036bfc98dfb8cbf96dc860ced9ae6e4b4dac33d /src/script/scripting_client.cpp
parent7fff9da71d2de352e0afea7482fc2e26534a51a4 (diff)
downloadminetest-1fa4f58080b068920d7611291709377072d0cd00.tar.gz
minetest-1fa4f58080b068920d7611291709377072d0cd00.tar.bz2
minetest-1fa4f58080b068920d7611291709377072d0cd00.zip
Cache serialized mapblocks during sending
This reduces the (absolute) time spent in Server::SendBlocks() from 700ms to 300ms (relative) share of MapBlock::serialize() from 80% to 60% in a test setup with 10 players and many block changes
Diffstat (limited to 'src/script/scripting_client.cpp')
0 files changed, 0 insertions, 0 deletions