neo-go/pkg/core/statesync
Roman Khimov 9bfb3357f2 storage: add "private" mode to MemCachedStore
Most of the time we don't need locking on the higher-level stores and we drop
them after Persist, so that's what private MemCachedStore is for.

It doesn't improve things in any noticeable way, some ~1% can be observed in
neo-bench under various loads and even less than that in chain processing. But
it seems to be a bit better anyway (less allocations, less locks).
2022-02-17 22:27:39 +03:00
..
module.go storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
module_test.go mpt: modify refcounted storage scheme to make GC possible 2022-02-10 21:56:20 +03:00
mptpool.go core: fix bug in MPT pool during Update 2021-09-07 19:43:27 +03:00
mptpool_test.go core: fix bug in MPT pool during Update 2021-09-07 19:43:27 +03:00