mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-24 04:01:01 +01:00
`lset` escapes to heap due to being passed through the text-parser interface, so we can reduce garbage by hoisting it out of the loop so only one allocation is done for every series in a scrape. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>