From afe08fde3e34702d02337c21a8812d599ab3d412 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 2 Feb 2022 15:04:50 +0300 Subject: [PATCH] btree2 --- pkg/core/storage/memory_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/storage/memory_store.go b/pkg/core/storage/memory_store.go index 9a27165c5..0a2937c00 100644 --- a/pkg/core/storage/memory_store.go +++ b/pkg/core/storage/memory_store.go @@ -33,7 +33,7 @@ func (b *MemoryBatch) Delete(k []byte) { // NewMemoryStore creates a new MemoryStore object. func NewMemoryStore() *MemoryStore { return &MemoryStore{ - mem: *btree.New(8), + mem: *btree.New(2), } }