Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

EncodeBlock method needs options to configure highCompress. #122

Open
easy1090 opened this issue Jul 23, 2024 · 0 comments
Open

EncodeBlock method needs options to configure highCompress. #122

easy1090 opened this issue Jul 23, 2024 · 0 comments

Comments

@easy1090
Copy link

easy1090 commented Jul 23, 2024

I want to replace zlib with lz4 to address the issue of high compression time. However, the trade-off is a reduced compression ratio; the data compressed with lz4 is 50% to 70% larger than that compressed with zlib.

I want to configure high compression, but I am compressing code blocks and need to use the lz4.decodeBlock method from the lz4 CDN resource on the client side, so I cannot use createEncoderStream and createDecoderStream.

My situation is compress in node-> decompress in node and client.

What can i do to resolve this problem? Thanks~

related mr

web-infra-dev/rsdoctor#432

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant