go-ethereum
go-ethereum copied to clipboard
core/vm: implement contract pool
Optimize Contract Pool Implementation
- Replaced custom contract pool implementation with a global sync.Pool
- I didn't measure it for geth but for bnb chain it improve cpu performance more here https://github.com/bnb-chain/bsc/pull/3156