#go#compression#decompression#deflate#go#golang#gzip#snappy#zip#zstandard#zstd
The "github.com/klauspost/compress" package offers many fast and efficient compression tools in pure Go, including zstandard, S2 (a faster Snappy replacement), optimized deflate for gzip/zip/zlib, and snappy with better compression and concurrency. It also provides entropy encoders (huff0, FSE), HTTP gzip handlers, and a parallel gzip implementation (pgzip). These tools are drop-in replacements for Go's standard libraries but run about twice as fast, saving time and resources. You can easily add it to your project with `go get`. It supports current and recent Go versions and offers options to disable unsafe code or assembly for compatibility. This package benefits you by improving compression speed and efficiency while maintaining compatibility with standard Go compression APIs, making your applications faster and more resource-friendly.
https://github.com/klauspost/compress
被 Covid 偷走的五年
我依旧觉得 2019 年是去年,要不是写博客梳理我都不知道我干了这么多事。我说什么来着,博客给记忆增加了一个全新的维度,是最好的时间胶囊。
下一个 5 年就是 2030 了,we're literally already closer to 2050 than 2000, can you even imagine?
本文是我 2024 年 8 月 Patreon 的月度选题。本月两个命题平票,由至尊糖妈的双倍票数 tie breaker 所以选了这个话题。加入 patreon 可以跟其它赞助者一起选出下个月你想看的博客文章,并且支持本博客的持续创作。下期选题已经发布欢迎金主点击投票:
- My pet peeves
- Mid 30s vs Mid 20s
- What's your fun fact
#blog#patreon