Skip to content

Commit

Permalink
perf change (#8796) (#8797)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit e17953a)

Co-authored-by: Marko <marbar3778@yahoo.com>
  • Loading branch information
mergify[bot] and tac0turtle authored Mar 5, 2021
1 parent c9f15de commit b9d0418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/cachekv/memiterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b9d0418

Please sign in to comment.