mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 18:22:16 +00:00
87d909df4a
This saves memory, effort and locking. Since every symbol is also added to postings, `Symbols()` can be implemented there instead. This now has to build a map for deduplication, but `Symbols()` is only called for compaction, and `gc()` used to rebuild the symbols map after every compaction so not an additional cost. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
index_test.go | ||
index.go | ||
postings_test.go | ||
postings.go | ||
postingsstats_test.go | ||
postingsstats.go |