diff --git a/hashcompute.go b/hashcompute.go index 13c8556..c70a97f 100644 --- a/hashcompute.go +++ b/hashcompute.go @@ -20,7 +20,7 @@ var bufPool = sync.Pool{ // The Pool's New function should generally only return pointer // types, since a pointer can be put into the return interface // value without an allocation: - return make([]uint8, 1024) + return &[]uint8{} }, }