SafeteeWoW / LibDeflate

Pure Lua compressor and decompressor with high compression ratio using DEFLATE/zlib format.
https://safeteewow.github.io/LibDeflate/
zlib License
87 stars 17 forks source link

Unstable Compression result #1

Closed SafeteeWoW closed 5 years ago

SafeteeWoW commented 5 years ago

I have noticed a small issue with the library that the compression result is unstable. (+- 1% difference)

However, this issue does not affect the correctness of the compression.

If I can find a good way to fix this without affecting the speed of the library too much, I fix it. Not sure the root cause right now. Suspecting caused by "pairs()" function. Investigating.

SafeteeWoW commented 5 years ago

Nah. I don't think it's an issue of LibDeflate. I heard about the issue in the WeakAuras Discord channel. Carefully inspect the "pairs()" functions used in LibDeflate. I didn't find any issue. But the LibSerializer used by WeakAura is unstable. Thus, not an issue of LibDeflate