server.cpp: unroll setting when sending mapblocks (#6265)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 18 Aug 2017 10:17:30 +0000 (12:17 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2017 10:17:30 +0000 (12:17 +0200)
commitfb196be8cf8606cfab144e2fe62d9c9d1f50932f
tree25bdcb180dfec00f8b10f09a687147ce1944088c
parent1d055aad0ff140968b9617b4ebf7c748f8dc20a8
server.cpp: unroll setting when sending mapblocks (#6265)

* server.cpp: unroll setting when sending mapblocks

* Improve a little bit performance when sending mapblocks massively
* Use a range based for
* Code style fixes
src/server.cpp