mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 19:41:19 +00:00
158fb2b606
Hi,
I'm syncing Gnosis on a Celeron N5100 to get familiar with the codebase.
In the process I managed to optimize some things from profiling.
Since I'm not yet on the project Discord, I decided to open this PR as a
suggestion. This pass all tests here and gave me a nice boost for that
platform, although I didn't have time to benchmark it yet.
* reuse VM Memory objects with sync.Pool. It starts with 4k as `evmone`
[code
suggested](
|
||
---|---|---|
.. | ||
state_encoding | ||
tests | ||
accessors_test.go | ||
accessors.go | ||
getters.go | ||
mutators_test.go | ||
mutators.go | ||
params.go | ||
root_test.go | ||
root.go | ||
setters.go | ||
ssz_test.go | ||
ssz.go | ||
state_bench_test.go | ||
state.go | ||
test_util.go | ||
upgrade.go |