forked from forks/go-ethereum
This PR creates a global hasher pool that can be used by all packages. It also removes a bunch of the package local pools. It also updates a few locations to use available hashers or the global hashing pool to reduce allocations all over the codebase. This change should reduce global allocation count by ~1% --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com> |
||
|---|---|---|
| .. | ||
| blake2b | ||
| bn256 | ||
| ecies | ||
| kzg4844 | ||
| secp256k1 | ||
| signify | ||
| crypto.go | ||
| crypto_test.go | ||
| signature_cgo.go | ||
| signature_nocgo.go | ||
| signature_test.go | ||