Skip to content

Commit 6c83e6d

Browse files
author
James Cor
committed
comment
1 parent 9d5ded5 commit 6c83e6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sql/rowexec/agg.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ type groupByGroupingIter struct {
117117
pos int
118118
child sql.RowIter
119119
dispose sql.DisposeFunc
120-
keyRow sql.Row
121-
keySch sql.Schema
120+
121+
// buffers to reduce slice allocations
122+
keyRow sql.Row
123+
keySch sql.Schema
122124
}
123125

124126
func newGroupByGroupingIter(

0 commit comments

Comments
 (0)