pub const DEFAULT_MAX_DEPTH: u16 = 14;Expand description
Defaults for the zoo budgets of ProtocolBehavior, which every protocol may override. The
values are the ones tuned for tlspuffin, whose impl documents where they come from.
DEFAULT_MAX_DEPTH bounds which symbols the zoo can build a term for at all: a term must
reach a closed leaf within that many levels, and the wrapper chains of a generated signature
eat several of them. Too low, and whole families of symbols silently become ungeneratable.
DEFAULT_MAX_SIZE is what actually keeps terms small — the size grows exponentially with the
depth — which lets the depth budget be about reachability alone.
DEFAULT_MAX_TRIES is how many consecutive failures we accept for one symbol. With
filter_evaluated it is really a budget of evaluations, since building a term essentially
always succeeds, so it is driven by the cost of the slowest symbols to evaluate.