Originally everything was represented as an NFA, which is very costly for peak memory and is difficult to maintain.
This was addressed to a large extent in Walnut 6 and Walnut 7 changes up to now, but there are still many issues with this.
Alternatively, there could be a "sliding scale" representation, that represents some states as DFA and some as NFA. Either works.
Originally everything was represented as an NFA, which is very costly for peak memory and is difficult to maintain.
This was addressed to a large extent in Walnut 6 and Walnut 7 changes up to now, but there are still many issues with this.
Alternatively, there could be a "sliding scale" representation, that represents some states as DFA and some as NFA. Either works.