mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Merge pull request #13043 from bboreham/remove-h
PromQL: reduce garbage in range-query evaluation
This commit is contained in:
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 a new issue