3 ms·
There's a pure-go zstd at https://github.com/klauspost/compress https://github.com/klauspost/compress - it's likely faster than running the upstream zstd under
by mappu 3y ago
There's a pure-go zstd at https://github.com/klauspost/compress https://github.com/klauspost/compress - it's likely faster than running the upstream zstd under Wazero.
- anuraaga 3y agoJust for reference I did give it a try https://github.com/wasilibs/go-zstd https://github.com/wasilibs/go-zstd Mostly since I hadn't found `compress` supports zstd. Wazero performed reasonably well against the cgo library but was indeed much slower than this proper pure go port.