hardlight
hardlight copied to clipboard
Switch compression to Zstd
We currently use deflate using the zlib C implementation when unpure compression is enabled. Zstd is much faster:
zstd 1.5.1 -1 Ratio: 2.887 Compress 530 MB/s Decompress 1700 MB/s
This issue will change HL to v3 as the wire protocol is changing again, and compression will be set to true or false based on the opening connection header instead of a uint level 0-9.