prometheus/storage
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
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>
2022-09-30 20:03:56 +05:30
..
remote storage/remote: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
buffer.go
buffer_test.go
fanout.go Introduce TSDB changes for appending metadata to the WAL (#10972) 2022-07-19 10:58:52 +02:00
fanout_test.go
generic.go
interface.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30
lazy.go tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 2020-07-31 16:03:02 +01:00
memoized_iterator.go fix:storage:avoid panic when iterater exhauested (#9945) 2021-12-07 19:50:00 +05:30
memoized_iterator_test.go
merge.go Replace sort.Strings and sort.Ints with faster slices.Sort (#11318) 2022-09-30 20:03:56 +05:30
merge_test.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30
noop.go
secondary.go
series.go storage: fix bug #10027 in iterators' Seek method 2021-12-16 12:07:35 +01:00
series_test.go