WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Released AddOns (https://www.wowinterface.com/forums/forumdisplay.php?f=9)
-   -   LibDeflate: High compression ratio library (https://www.wowinterface.com/forums/showthread.php?t=57699)

yoursafety 11-24-19 10:52 AM

LibDeflate: High compression ratio library
 
I am the author of LibDeflate

LibDeflate is a pure Lua compression library implementing Deflate/zlib algorithm (The algorithm used by ZIP)

Its compression ratio is much higher than an old project LibCompress, with similar compression/decompression speed. The performance statistic is on Github
I suggest to try this library, if there are many communications in your addon.

Documentation is host on Github.

Though recently uploaded to WowInterface, LibDeflate has been uploaded to Curseforge for a while,
and has been used by several popular WoW addons, including WeakAuras2 and Total-RP-3


It is very important to take backward compatibility into account, when switching to this library to compress communication data, especially when library similar to LibCompress is already in use.

Sample code to use LibDeflate in real project (with backward compatibility consideration with LibCompress):
WeakAuras commit c46a8f2621


All times are GMT -6. The time now is 11:31 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI