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

Method EstimateFactCount

factstore/factstore.go:367–369  ·  view source on GitHub ↗

EstimateFactCount returns the number of facts. The real number can be lower in case of duplicates.

()

Source from the content-addressed store, hash-verified

365
366// EstimateFactCount returns the number of facts. The real number can be lower in case of duplicates.
367func (s TeeingStore) EstimateFactCount() int {
368 return s.base.EstimateFactCount() + s.Out.EstimateFactCount()
369}
370
371// NewTeeingStore returns a new TeeingStore.
372func NewTeeingStore(base FactStore) TeeingStore {

Callers 1

Calls 1

EstimateFactCountMethod · 0.65

Tested by 1