9bfb3357f2
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). |
||
---|---|---|
.. | ||
contract | ||
crypto | ||
interopnames | ||
iterator | ||
runtime | ||
storage | ||
context.go | ||
doc.go | ||
gas_price.go |