perf change (#8796)
Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
7aa0b4b812
commit
e17953ab11
|
@ -19,7 +19,7 @@ type memIterator struct {
|
|||
}
|
||||
|
||||
func newMemIterator(start, end []byte, items *list.List, ascending bool) *memIterator {
|
||||
itemsInDomain := make([]*kv.Pair, 0)
|
||||
itemsInDomain := make([]*kv.Pair, 0, items.Len())
|
||||
|
||||
var entered bool
|
||||
|
||||
|
|
Loading…
Reference in New Issue