MCPcopy
hub / github.com/google/mangle / SimpleInMemoryStore

Struct SimpleInMemoryStore

factstore/factstore.go:102–104  ·  view source on GitHub ↗

SimpleInMemoryStore provides a simple implementation backed by a two-level map. For each predicate sym, we have a separate map, using numeric hash as key.

Source from the content-addressed store, hash-verified

100// SimpleInMemoryStore provides a simple implementation backed by a two-level map.
101// For each predicate sym, we have a separate map, using numeric hash as key.
102type SimpleInMemoryStore struct {
103 InMemoryStore[map[uint64]ast.Atom]
104}
105
106var _ FactStoreWithRemove = SimpleInMemoryStore{}
107

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected