mirror of
https://github.com/prometheus/prometheus
synced 2026-04-21 15:11:07 +08:00
While investigating +10% CPU in v3.7 release, found that ~5% is from expanding the types map. Try reuse. Also fix a linter error. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>