Skip to content

Missing timeout propagation in Automaton::MinimizeMoore #4

@davisjam

Description

@davisjam

Similar to #3, but for Automaton::MinimizeMoore.

I am experimenting with the regex /this is a regex a{48} done/. The fa has about 700K states.

In this case it appears to be that the loop to build distinguishable can take quite a long time and result in OOM errors. Adding a CheckTimeout within that loop resolves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions