Header menu logo bristlecone

Caching Module

Types and nested modules

Type/Module Description

Policies

QuotationCache<'r, 'u>

Functions and values

Function or value Description

apply cache shouldCache expr rhs

Full Usage: apply cache shouldCache expr rhs

Parameters:
Returns: Expr<'r>

Use caching if shouldCache returns true for the given expression.

cache : QuotationCache<'r, 'u>
shouldCache : ModelExpression<'u> -> bool
expr : ModelExpression<'u>
rhs : unit -> Expr<'r>
Returns: Expr<'r>

makeBindingCache ()

Full Usage: makeBindingCache ()

Parameters:
    () : unit

Returns: QuotationCache<'r, 'u> * List<Var * Expr<'r>>
() : unit
Returns: QuotationCache<'r, 'u> * List<Var * Expr<'r>>

Type something to start searching.