Logo FsLexYacc

ParseSettings Module

Settings that tune the parser runtime.

Functions and values

Function or value Description

AssocTableCacheInitialCapacity

Full Usage: AssocTableCacheInitialCapacity

Returns: int

Initial capacity of the per-AssocTable lookup cache allocated on each parse. The default (2000) preserves historical behaviour. Set to 0 to grow the cache on demand, which greatly reduces allocation for parsers invoked over many small inputs (issue #54), at the cost of a few dictionary resizes for very large single parses. Set once at startup, before parsing.

Returns: int

Type something to start searching.