mostynb / go-grpc-compression

go gRPC encoding wrappers for some useful compression algorithms that are not available in google.golang.org/grpc
Apache License 2.0
21 stars 10 forks source link

reimplement zstd without sync pool #2

Closed mostynb closed 3 years ago

mostynb commented 3 years ago

This change reimplements the zstd support without using a sync.Pool and the tricky finalizer setup.

mostynb commented 3 years ago

@ains-stripe: not sure if you're still using this library, but FYI.

This solution seems a bit simpler, and might have lower resource usage. I need to test this before it can land though.