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.
| 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. |
| 102 | type SimpleInMemoryStore struct { |
| 103 | InMemoryStore[map[uint64]ast.Atom] |
| 104 | } |
| 105 | |
| 106 | var _ FactStoreWithRemove = SimpleInMemoryStore{} |
| 107 |
nothing calls this directly
no outgoing calls
no test coverage detected