This package provides various compression algorithms. zstandard compression and decompression in pure Go. S2 is a high-performance replacement for Snappy. Optimized deflate packages which can be used as a dropin replacement for gzip, zip and zlib. snappy is a drop-in replacement for github.com/golang/snappy offering better compression and concurrent streams. huff0 and FSE implementations for raw entropy encoding. gzhttp Provides client and server wrappers for handling gzipped requests efficiently. pgzip is a separate package that provides a very fast parallel gzip implementation. Stream decompression is now faster on asynchronous since the goroutine allocation much more effectively splits the workload. On typical streams, this will typically use 2 cores fully for decompression. When a stream has finished decoding no goroutines will be left over, so decoders can now safely be pooled and still be garbage collected.
Features
- zstandard compression and decompression in pure Go
- S2 is a high performance replacement for Snappy
- Optimized deflate packages which can be used as a dropin replacement for gzip, zip and zlib
- huff0 and FSE implementations for raw entropy encoding
- gzhttp Provides client and server wrappers for handling gzipped requests efficiently
- pgzip is a separate package that provides a very fast parallel gzip implementation