neo-go/pkg/core/dao
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
..
dao.go storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
dao_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00