KaiijuMC / Kaiiju

Folia fork for anarchists.
GNU General Public License v3.0
177 stars 20 forks source link

ZSTD vs LZ4 internal chunk compression #20

Closed sofianedjerbi closed 1 year ago

sofianedjerbi commented 1 year ago

Is your feature request related to a problem?

Chunk uses a lot of ram. Uses ZSTD instead of LZ4 for linear internal chunk compression

Describe the solution you'd like.

Use ZSTD as internal chunk compression instead of LZ4

Describe alternatives you've considered.

Keep LZ4

Other

No response

sofianedjerbi commented 1 year ago

After a lot of tests in dev/internal-compression LZ4 algorithm is superior: Faster, same compression ratio, lighter.