Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trie): memory leak fix in
lib/trie
(ChainSafe#2009)
- Buffer and pool usage fixed and improved - Fix buffers not put back in pool - Write to buffer passed as arguments - Decouple pools for encoding, digests and hashers - Improve `sync.Pool` usage generally - Improve parallel encoding of branches and remove dependency on `sync/x` - Do not copy when not needed
- Loading branch information