Constant regex_automata::hybrid::dfa::MIN_STATES
source · const MIN_STATES: usize = _; // 5usize
Expand description
The minimum number of states that a lazy DFA’s cache size must support.
This is checked at time of construction to ensure that at least some small number of states can fit in the given capacity allotment. If we can’t fit at least this number of states, then the thinking is that it’s pretty senseless to use the lazy DFA. More to the point, parts of the code do assume that the cache can fit at least some small number of states.