aboutsummaryrefslogtreecommitdiff
path: root/src/guiPathSelectMenu.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-07-26 23:37:44 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-07-27 07:56:48 +0200
commitc27504a322ad3dcc1ff483b416df265148486710 (patch)
treecfb6ef5fbcc19b6109c45d71a87df4849cc706a9 /src/guiPathSelectMenu.h
parent61e487719017511fdc37a944ea7321da46d28ee4 (diff)
downloadminetest-c27504a322ad3dcc1ff483b416df265148486710.tar.gz
minetest-c27504a322ad3dcc1ff483b416df265148486710.tar.bz2
minetest-c27504a322ad3dcc1ff483b416df265148486710.zip
compressZlib: don't use a SharedBuffer but a raw u8 * pointer
Remove usage of the SharedBuffer in zlib compression which has two problems: * We copied the whole memory block to compress it (not good with mapblocks) * We copied sometimes strings to SharedBuffer to SharedBuffer (2nd time) Use this method in MapNode::serializeBulk + optimize serialization but merging 3 identical loops in a single loop
Diffstat (limited to 'src/guiPathSelectMenu.h')
0 files changed, 0 insertions, 0 deletions