Skip to content

How to compress extremely small amounts of data using zstd? #3722

@windming-hub

Description

@windming-hub

Hello, when I use zstd dictionary compression to compress 32Byte data, even the data are all the same, and I remove the magic, dictID and checksum in the result, the final compressed result is still 12byte. I found that only 1byte is a reference to the real data. Others are redundant metadata. Is there any way to reduce these redundant metadata?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions