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

Method EstimateFactCount

factstore/temporal.go:292–294  ·  view source on GitHub ↗

EstimateFactCount returns the number of temporal facts (atom + interval pairs).

()

Source from the content-addressed store, hash-verified

290
291// EstimateFactCount returns the number of temporal facts (atom + interval pairs).
292func (s *TemporalStore) EstimateFactCount() int {
293 return s.count
294}
295
296// Coalesce merges adjacent or overlapping intervals for the same fact.
297// This helps prevent interval explosion in recursive rules.

Calls

no outgoing calls