diff options
author | sfan5 <sfan5@live.de> | 2022-05-05 22:03:49 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-08 19:12:10 +0200 |
commit | 1fa4f58080b068920d7611291709377072d0cd00 (patch) | |
tree | f036bfc98dfb8cbf96dc860ced9ae6e4b4dac33d /src/script/lua_api/l_auth.cpp | |
parent | 7fff9da71d2de352e0afea7482fc2e26534a51a4 (diff) | |
download | minetest-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/lua_api/l_auth.cpp')
0 files changed, 0 insertions, 0 deletions