View Source Guesswork.Ast.Fact.Precompute (Guesswork v0.8.0)
Used by Guesswork.Ast.Fact
to cache streams where a portion of those streams
are calculated in advance.
Summary
Functions
@spec build_stream( :ets.table(), Guesswork.Ast.Fact.t(), boolean(), Guesswork.Ast.Statement.stream(), integer() ) :: Guesswork.Ast.Statement.stream()
@spec get_stream(:ets.table(), Guesswork.Ast.Fact.t(), boolean()) :: nil | Guesswork.Ast.Statement.stream()
@spec new_cache() :: :ets.table()