BioJulia / Automa.jl

A julia code generator for regular expressions
Other
188 stars 15 forks source link

Optimize reduce_nodes(::DFA) #50

Closed jakobnissen closed 3 years ago

jakobnissen commented 4 years ago

For large DFA's this represent the current bottleneck in machine compilation, with >95% time spent distinct_nodes when I compile XAM.jl's SAM parser. The underlying algorithm in N^2, and allocates heavily.

jakobnissen commented 3 years ago

Fixed by #51