mirror of https://github.com/prometheus/prometheus
Browse Source
Go spends some time initializing all the elements of these arrays to zero, so reduce the size from 1024 to 128. This is still much bigger than we ever expect for a set of labels. (If someone does have more than 128 labels it will still work, but via heap allocation.) Signed-off-by: Bryan Boreham <bjboreham@gmail.com>pull/12174/head
Bryan Boreham
2 years ago
2 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue