prometheus/tsdb/wal
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
..
checkpoint.go Introduce TSDB changes for appending metadata to the WAL (#10972) 2022-07-19 10:58:52 +02:00
checkpoint_test.go Introduce TSDB changes for appending metadata to the WAL (#10972) 2022-07-19 10:58:52 +02:00
live_reader.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
reader.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
reader_test.go refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00
wal.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30
wal_test.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
watcher.go Replace sort.Strings and sort.Ints with faster slices.Sort (#11318) 2022-09-30 20:03:56 +05:30
watcher_test.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30