mirror of https://github.com/prometheus/prometheus
Browse Source
Lifting an optimisation from Agent code, `seriesHashmap.del` can use the unique series reference, doesn't need to check Labels. Also streamline the logic for deleting from `unique` and `conflicts` maps, and add some comments to help the next person. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>pull/13463/head^2
Bryan Boreham
10 months ago
committed by
GitHub
1 changed files with 11 additions and 12 deletions
Loading…
Reference in new issue