4 ms·
Try using cgo-based zstd package https://github.com/valyala/gozstd https://github.com/valyala/gozstd . It is usually faster than pure-Go package https://github.
by valyala 3y ago
Try using cgo-based zstd package https://github.com/valyala/gozstd https://github.com/valyala/gozstd . It is usually faster than pure-Go package https://github.com/klauspost/compress/tree/master/zstd https://github.com/klauspost/compress/tree/master/zstd
- fastest963 3y agoYep, this was validated earlier but deemed not worth the effort. We might revisit it down the road but we already deal with cgo for Brotli and it's a pain. We run Linux servers but Macs for development and so we have to keep the toolchain working across both and it isn't free.
- everybackdoor 3y ago[dead]