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

Struct ResultPool

pkg/parquetquery/pool.go:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9var DefaultPool = NewResultPool(10)
10
11type ResultPool struct {
12 pool *sync.Pool
13 cap int
14}
15
16// NewResultPool creates a pool for reusing IteratorResults. New items are created
17// with the given default capacity. Using different pools is helpful to keep

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected