noledgebin / frontend

NoledgeBin is a zero-knowledge pastebin
https://andinus.unfla.me/noledgebin/
GNU Affero General Public License v3.0
1 stars 1 forks source link

Compare fflate with lzwcompress #3

Closed andinus closed 2 years ago

Pauloper1 commented 2 years ago

Fflate

Eg1 1 2 Eg2

3 5

For LWZ compress

For now, fflate leads

Pauloper1 commented 2 years ago

Also hauffmanCompression is behaving differently for randomly generated strings but seems to work for hard-coded string

andinus commented 2 years ago

Can you link to the test script as well? Also, testing compression algorithms on randomly generated strings just gives us worst case result.

andinus commented 2 years ago

Okay, so the consensus is to use fflate.