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

Struct IndexedInMemoryStore

factstore/factstore.go:389–391  ·  view source on GitHub ↗

IndexedInMemoryStore provides a simple implementation backed by a three-level map. For each predicate sym, we have a separate map, using hash of the first argument and then hash of the entire atom.

Source from the content-addressed store, hash-verified

387// For each predicate sym, we have a separate map, using hash of the first argument and then
388// hash of the entire atom.
389type IndexedInMemoryStore struct {
390 InMemoryStore[map[uint64]map[uint64]ast.Atom]
391}
392
393// NewIndexedInMemoryStore constructs a new IndexedInMemoryStore.
394func NewIndexedInMemoryStore() IndexedInMemoryStore {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected