mirror of https://github.com/prometheus/prometheus
Merge pull request #13043 from bboreham/remove-h
PromQL: reduce garbage in range-query evaluationpull/13053/head
commit
6722a5bb86
|
@ -1172,9 +1172,7 @@ func (ev *evaluator) rangeEval(prepSeries func(labels.Labels, *EvalSeriesHelper)
|
|||
bufHelpers[i] = make([]EvalSeriesHelper, len(matrixes[i]))
|
||||
|
||||
for si, series := range matrixes[i] {
|
||||
h := seriesHelpers[i][si]
|
||||
prepSeries(series.Metric, &h)
|
||||
seriesHelpers[i][si] = h
|
||||
prepSeries(series.Metric, &seriesHelpers[i][si])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue