← Back to context

Comment by tracnar

5 days ago

Could you have a heuristics based on the input size and the pattern to decide what to use?

Yes, this is entirely possible. you can even explore the automaton eagerly and detect if it's possible to loop from an accepting state to a nonaccepting one.

Exciting stuff for future work