MCPcopy
hub / github.com/grafana/tempo / Less

Method Less

pkg/traceql/series_heap.go:64–66  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

62func (h seriesHeap) Len() int { return len(h) }
63
64func (h seriesHeap) Less(i, j int) bool {
65 return dataPointLessThan(h[i], h[j])
66}
67
68func (h seriesHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
69

Calls 1

dataPointLessThanFunction · 0.85