Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compress: add zstd module #20616

Merged
merged 10 commits into from
Jan 23, 2024
Merged

compress: add zstd module #20616

merged 10 commits into from
Jan 23, 2024

Conversation

kbkpbot
Copy link
Contributor

@kbkpbot kbkpbot commented Jan 21, 2024

Add compress.zstd module.

Also provide load/store function, to load/store array from/to compressed file.

Zstandard(https://github.com/facebook/zstd/), or zstd as short version, is a fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios.

@spytheman
Copy link
Member

Please move the .h and .c files (the ones in vlib/compress/zstd/lib/) to thirdparty/zstd/.

@spytheman
Copy link
Member

(rebased over current master, to minimize the diff)

@JalonSolov
Copy link
Contributor

Need to run v fmt -w . in your playpen, then push the changed files.

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work 🙇🏻‍♂️ .

@spytheman spytheman merged commit 73493c3 into vlang:master Jan 23, 2024
42 checks passed
@kbkpbot kbkpbot deleted the compress-zstd branch January 23, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants