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

EncodeBlock method needs options to configure highCompress. #122

@yifancong

Description

@yifancong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions