We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 921da4d commit 62cfe44Copy full SHA for 62cfe44
head.go
@@ -954,7 +954,7 @@ func (h *Head) gc() {
954
h.postings.Delete(deleted)
955
956
// Rebuild symbols and label value indices from what is left in the postings terms.
957
- symbols := make(map[string]struct{})
+ symbols := make(map[string]struct{}, len(h.symbols))
958
values := make(map[string]stringset, len(h.values))
959
960
if err := h.postings.Iter(func(t labels.Label, _ index.Postings) error {
0 commit comments