Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-09-29 14:40:21 +02:00
b3bd773fea
libdeflate is significantly faster than vanilla zlib, zlib-ng, and Cloudflare zlib. It is also MIT-licensed (so no licensing concerns). In addition, it simplifies a lot of the native code (something that's been tricky to get right). While we're at it, I have also taken the time to fine-time compression in Velocity in general. Thanks to this work, native compression only requires one JNI call, an improvement from the more than 2 (sometimes up to 5) that were possible before. This optimization also extends to the existing Java compressors, though they require potentially two JNI calls. |
||
---|---|---|
.. | ||
main | ||
test/java/com/velocitypowered/proxy |