mirror of https://github.com/prometheus/prometheus
Avoid reallocating map in MatchLabels (#10715)
We know the max size of our map so we can create it with that information and avoid extra allocations Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>pull/10720/head
parent
4ece54852c
commit
89de30a0b7
Loading…
Reference in new issue