mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
3330d85ba8
Use new experimental package `golang.org/x/exp/slices`. slices.Sort works on values that are directly comparable, like ints, so avoids the overhad of an interface call to `.Less()`. Left tests unchanged, because they don't need the speed and it may be a cross-check that slices.Sort gives the same answer. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
chunk_write_queue.go | ||
chunk_write_queue_test.go | ||
chunks.go | ||
chunks_test.go | ||
head_chunks.go | ||
head_chunks_other.go | ||
head_chunks_test.go | ||
head_chunks_windows.go | ||
queue.go | ||
queue_test.go |