mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 02:02:17 +00:00
7f2374b703
Use new experimental package `golang.org/x/exp/slices`. Some of the speedup comes from comparing SeriesRef (which is an int64) directly rather than through an interface `.Less()` call; some comes from exp/slices using "pattern-defeating quicksort(pdqsort)". Signed-off-by: Bryan Boreham <bjboreham@gmail.com> Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
index_test.go | ||
index.go | ||
postings_test.go | ||
postings.go | ||
postingsstats_test.go | ||
postingsstats.go |