mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
use available arenas instead of allocating new ones
This commit is contained in:
parent
20bb7028d3
commit
2e72170632
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ type stackArena struct {
|
|||
}
|
||||
|
||||
func newArena() *stackArena {
|
||||
return stackPool.New().(*stackArena)
|
||||
return stackPool.Get().(*stackArena)
|
||||
}
|
||||
|
||||
// 1025, because in stack() there is a condition check
|
||||
|
|
|
|||
Loading…
Reference in a new issue