ForgePatch/patches/minecraft
LexManos dedc02fa22 Move chunk compression to the network thread in Packet 51 and 56
This will reduce the server load considerably by doing the chunk data compression in writePacketData, which will be run from the network thread.

The chunk compression can easily use 1/4th of the overall server thread CPU time if someone is exploring much, especially when moving quickly (e.g. with quantum leggings).

Player, this is how it's properly done.
2012-12-23 23:31:13 -08:00
..
net/minecraft Move chunk compression to the network thread in Packet 51 and 56 2012-12-23 23:31:13 -08:00