MCPcopy Create free account
hub / github.com/brimdata/super / TypeCache

Struct TypeCache

context.go:663–666  ·  view source on GitHub ↗

TypeCache wraps a TypeFetcher with an unsynchronized cache for its LookupType method. Cache hits incur none of the synchronization overhead of the underlying shared type context.

Source from the content-addressed store, hash-verified

661// method. Cache hits incur none of the synchronization overhead of
662// the underlying shared type context.
663type TypeCache struct {
664 cache []Type
665 fetcher TypeFetcher
666}
667
668var _ TypeFetcher = (*TypeCache)(nil)
669

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected